atomic-rating-facet (Deprecated)
atomic-rating-facet (Deprecated)
A facet is a list of values for a certain field occurring in the results, ordered using a configurable criteria (for example, number of occurrences).
An atomic-rating-facet
displays a facet of the results for the current query as ratings.
It only supports numeric fields.
Properties
Property | Attribute | Description | Type | Default |
---|---|---|---|---|
|
|
Whether to display the facet values as checkboxes (multiple selection) or links (single selection). Possible values are 'checkbox' and 'link'. |
|
|
|
|
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 SVG icon to use to display the rating.
|
|
|
|
|
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 if the facet is collapsed. |
|
|
|
|
The non-localized label for the facet. |
|
|
|
|
The maximum value of the field. This value is also used as the number of icons to be displayed. |
|
|
|
|
The minimum value of the field. |
|
|
|
|
The number of intervals to split the index for this facet. |
|
|
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 ripple effect of the component’s interactive elements. |
|
The facet value checkbox, available when display is 'checkbox'. |
|
The facet value checkbox clickable label, available when display is 'checkbox'. |
|
The facet value count, common for all displays. |
|
The facet value when display is 'link'. |
|
The facet value rating, common for all displays. |
|
The facet values container. |
CSS Custom Content
Name | Description |
---|---|
|
Size of the checkbox. |
|
Color of the icon when active. |
|
Color of the icon when inactive. |