The facet's selected value if any, undefined otherwise.
Returns true
if fewer values can be displayed, and false
if not.
Returns true
if there are more values to display and, false
if not.
Whether the facet is enabled and its values are used to filter search results.
The facet ID.
The state of the facet's searchbox.
Returns true
if there's at least one non-idle value, and false
if not.
Whether valuesAsTree
contains hierarchical values (i.e. facet values with children), or only 'flat' values (i.e. facet values without children).
Returns true
if a search is in progress, and false
if not.
The selected facet values ancestry. The first element is the "root" of the selected value ancestry tree. The last element is the selected value itself.
The facet's active sortCriterion
.
The root facet values.
Child values might be available in valuesAsTrees[i].children[j]
A scoped and simplified part of the headless state that is relevant to the
CategoryFacet
controller.