FacetOptionsActions

This is for:

Developer

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

Returns PayloadAction<UpdateFacetOptionsActionCreatorPayload>: A dispatchable action.

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: