@progress/kendo-angular-treeview
Version:
Kendo UI TreeView for Angular
31 lines (30 loc) • 1.48 kB
TypeScript
/**-----------------------------------------------------------------------------------------
* Copyright © 2025 Progress Software Corporation. All rights reserved.
* Licensed under commercial license. See LICENSE.md in the project root for more information
*-------------------------------------------------------------------------------------------*/
import { TemplateRef } from "@angular/core";
import * as i0 from "@angular/core";
/**
* 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](slug:loadmorebutton_treeview#button-template)).
*
* The template context provides the following variable:
* - `let-index="index"`—The hierarchical index of the load more button node.
*
* @example
* ```html
* <kendo-treeview>
* <ng-template kendoTreeViewLoadMoreButtonTemplate let-index="index">
* Load more at {{ index }}
* </ng-template>
* </kendo-treeview>
* ```
*/
export declare class LoadMoreButtonTemplateDirective {
templateRef: TemplateRef<any>;
constructor(templateRef: TemplateRef<any>);
static ɵfac: i0.ɵɵFactoryDeclaration<LoadMoreButtonTemplateDirective, [{ optional: true; }]>;
static ɵdir: i0.ɵɵDirectiveDeclaration<LoadMoreButtonTemplateDirective, "[kendoTreeViewLoadMoreButtonTemplate]", never, {}, {}, never, never, true, never>;
}