atomic-rating-range-facet
atomic-rating-range-facet
This is for:
DeveloperA facet is a list of values for a certain field occurring in the results, ordered using a configurable criteria (e.g., number of occurrences).
An atomic-rating-range-facet
displays a facet of the results for the current query as ratings.
It only supports numeric fields.
Properties
Property | Attribute | Description | Type | Default |
---|---|---|---|---|
|
The required facets and values for this facet to be displayed. Examples:
|
|
|
|
|
|
Specifies a unique identifier for the facet. |
|
|
|
|
The field whose values you want to display in the facet. |
|
|
|
|
Whether to exclude the parents of folded results when estimating the result count for each facet value. |
|
|
|
|
The heading level to use for the heading over the facet, from 1 to 6. |
|
|
|
|
The SVG icon to use to display the rating.
When using a custom icon, at least part of your icon should have the color set to
|
|
|
|
|
The maximum number of results to scan in the index to ensure that the facet lists all potential facet values.
Note: A high injectionDepth may negatively impact the facet request performance.
Minimum: |
|
|
|
|
Specifies whether the facet is collapsed. When the facet is the child of an |
|
|
|
|
The non-localized label for the facet.
Used in the |
|
|
|
|
The maximum value in the field’s index and the number of rating icons to display in the facet. This property will default to the same value as |
|
|
|
|
The minimum value of the field. |
|
|
|
|
The number of options to display in the facet. If |
|
|
Shadow Parts
Part | Description |
---|---|
|
The button that resets the actively selected facet values. |
|
The clear button icon. |
|
The wrapper for the entire facet. |
|
The button that displays the label and toggles to expand or collapse the facet. |
|
The label button icon. |
|
The placeholder shown before the first search is executed. |
|
The facet value when display is 'box'. |
|
The selected facet value when display is 'box'. |
|
The facet value count, common for all displays. |
|
The facet value label, common for all displays. |
|
The facet value when display is 'link'. |
|
The selected facet value when display is 'link'. |
|
The facet values container. |
CSS Custom Content
Name | Description |
---|---|
|
Color of the icon when active. |
|
Color of the icon when inactive. |
|
Color of the icon’s outline. |