RatingComponent
Represents the Kendo UI Rating component for Angular.
Selector
kendo-rating
Export Name
Accessible in templates as #kendoRatingInstance="kendoRating"
Inputs
Name | Type | Default | Description |
---|---|---|---|
disabled |
|
|
Determines whether the Rating is disabled (see example). To learn how to disable the component in reactive forms, refer to the article on Forms Support. |
icon |
|
Sets custom Rating font icon (see example). | |
itemsCount |
|
|
Sets the number of rating items (see example). |
label |
|
Sets the Rating label. It is not the native HTML | |
precision |
|
|
Determines the precision of the Rating (see example). |
readonly |
|
|
Determines whether the Rating is in its read-only state (see example). |
selection |
|
|
Sets the selection mode of the Rating (see example). |
svgIcon |
|
Sets custom Rating SVG icon. It is the icon that is used for selected/hovered state (see example). | |
svgIconOutline |
|
Sets custom Rating SVG icon. It is the icon that is used for not selected/hovered state (see example). | |
tabindex |
|
|
Specifies the tabindex of the Rating. |
value |
|
The initial value of the Rating component.
The component can use either NgModel or the |
Events
Name | Type | Description |
---|---|---|
valueChange |
|
Fires each time the user selects a new value. |
Methods
blur |
---|
Blurs the Rating component. |
focus |
---|
Focuses the Rating component. |