New to Kendo UI for Angular? Start a free 30-day trial
LoadMoreButtonTemplateDirective
Represents a directive for customizing the load more button in the TreeView.
To define the template, nest an <ng-template>
tag with the kendoTreeViewLoadMoreButtonTemplate
directive inside a <kendo-treeview>
tag
(see example).
The template context provides the following variable:
let-index="index"
—The hierarchical index of the load more button node.
html
<kendo-treeview>
<ng-template kendoTreeViewLoadMoreButtonTemplate let-index="index">
Load more at {{ index }}
</ng-template>
</kendo-treeview>
Selector
[kendoTreeViewLoadMoreButtonTemplate]