New to Kendo UI for Angular? Start a free 30-day trial
ItemTemplateDirective
Renders the list item content. To define an item template, nest an <ng-template>
tag
with the kendoListViewItemTemplate
directive inside the <kendo-listview>
tag
see example.
The following values are available as context variables:
let-dataItem="dataItem"
(any
) - The current data item. Also available as implicit context variable.let-index="index"
(number
) - The current item index.let-isFirst="isFirst"
(boolean
) - Indicates whether the current data item will be rendered as the first item on the list.let-isLast="isLast"
(boolean
)- Indicates whether the current data item will be rendered as the last item on the list.
Selector
[kendoListViewItemTemplate]