Rating
A star rating component that allows users to provide ratings using customizable icons. Features half-star support, custom colors for selected and unselected states, and configurable maximum rating values. Ideal for collecting user feedback or displaying rating scores.
Extends: fieldComponent
Fields
Name | Code | Data Type | Description |
|---|---|---|---|
Maximum Value |
| text | Maximum rating value allowed |
Color |
| text | Color of unselected rating icons |
Color Selected |
| text | Color of selected rating icons |
Icon |
| text | Icon to use for rating units |
Icon Half |
| text | Icon to use for half rating units |
Icon Selected |
| text | Icon to use for selected rating units |
Dimming |
| boolean | Enables dimming effect for unselected icons |
Size |
| text | Size of the rating icons |
Label |
| multi-locale | Label for the rating component |
ID |
| text | Unique identifier for the component |
Style Classes |
| text | CSS classes for styling |
Style |
| text | Inline styles for the component |
Width |
| text | Controls component width |
Visible |
| boolean | Controls component visibility |
Enabled |
| boolean | Controls whether component is enabled |
Outlined |
| text | Shows component with outlined style |
Value |
| text | Current rating value |
Events
Name | Description |
|---|---|
| Triggered when the rating value changes |
| Triggered when the rating component loses focus |
| Triggered when the rating component gains focus |