FacetOptionsActions
FacetOptionsActions
This is for:
DeveloperIn this article
The facetOptions action creators.
Loader Function
loadFacetOptionsActions
Loads the facetOptions
reducer and returns possible action creators.
Parameters
-
engine:
SearchEngine
The headless engine.
Returns FacetOptionsActionCreators
: The facetOptions action creators.
FacetOptionsActionCreators
updateFacetOptions
Updates options that affect facet reordering. For more information, refer to the documentation on query parameters.
Parameters
-
payload:
UpdateFacetOptionsActionCreatorPayload
The action creator payload.
Returns PayloadAction<UpdateFacetOptionsActionCreatorPayload>
: A dispatchable action.
Related Types
UpdateFacetOptionsActionCreatorPayload
Properties
-
freezeFacetOrder?:
boolean
Whether facets should be returned in the same order they were requested.
Associated Engines
The FacetOptions
actions are available in the following engine: