Rating
Collects or shows a star rating.
When to use
- Use it for supplier or service feedback.
Examples
Rate and show
Loading the example
<k:Stack gap="16">
<k:Rating label="Delivery quality" value="4"/>
<k:Rating label="Average" value="3.6" readOnly="true"/>
</k:Stack>API
Properties
| Name | Type | Default | Description |
|---|---|---|---|
value | float | 0 | Rating |
max | int | 5 | Maximum |
label | string | Label | |
readOnly | boolean | false | Whether the rating is display only. Fractions are drawn |
enabled | boolean | true | Whether the control is enabled |
Events
| Name | Type | Description |
|---|---|---|
change | value: float | The rating changed |