atomic-result-rating
atomic-result-rating
This is for:
DeveloperThe atomic-result-rating
element renders a star rating.
Properties
Property | Attribute | Description | Type | Default |
---|---|---|---|---|
|
|
The field whose values you want to display as a rating. |
|
|
|
|
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 value of the field. This value is also used as the number of icons to be displayed. |
|
|
Shadow Parts
Part | Description |
---|---|
|
The wrapper that contains the row of inactive stars and the row of active stars. |
CSS Custom Content
Name | Description |
---|---|
|
Color of the icon when active. |
|
Color of the icon when inactive. |
|
Color of the icon’s outline. |