New to Kendo UI for Angular? Start a free 30-day trial
RatingItemTemplateDirective
Renders the rating item content.
To define an item template, nest an <ng-template>
tag with the kendoRatingItemTemplate
directive inside the <kendo-rating>
tag (see example).
The index of the current item is available as an implicit context using the let-index="index"
syntax.
*
html
<kendo-rating [value]="ratingValue">
<ng-template kendoRatingItemTemplate let-index="index">
<span>Item: {{ index }}</span>
</ng-template>
</kendo-rating>
Selector
[kendoRatingItemTemplate]