New to Kendo UI for Angular? Start a free 30-day trial

Templates

The Rating provides templates which enable you to customize the icon.

To customize the default icon, all 3 templates (item, hover item and selected item) should be provided. To define the templates, nest a <ng-template> tag with each of the directives (kendoRatingItemTemplate, kendoRatingHoveredItemTemplate and kendoRatingSelectedItemTemplate) inside a <kendo-rating> tag. The templates also provide access to the index of the current item by using the let-index="index" syntax.

Example
View Source
Change Theme:

In this article

Not finding the help you need?