Checks whether the facet values are sorted according to the specified criterion.
The criterion to compare.
Whether the facet values are sorted according to the specified criterion.
Checks whether the specified facet value is excluded.
The facet value to check.
Whether the specified facet value is excluded.
Checks whether the specified facet value is selected.
The facet value to check.
Whether the specified facet value is selected.
Sorts the facet values according to the specified criterion.
The criterion to use for sorting values.
Adds a callback that's invoked on state change.
A callback that's invoked on state change.
A function to remove the listener.
Toggles exclusion of the specified facet value.
The facet value to toggle exclusion.
Toggles the specified facet value.
The facet value to toggle.
Excludes the specified facet value, deselecting others.
The facet value to toggle exclusion.
Toggles the specified facet value, deselecting others.
The facet value to toggle.
The
Facet
controller allows you to create a search interface component that the end user can use to refine a query by selecting filters based on item metadata (i.e., field values). If you have enabled a Dynamic Navigation Experience (DNE) model, theFacet
controller automatically reorders facet values according to the user query.Examples: