UNPKG

@progress/kendo-angular-listview

Version:

Kendo UI Angular listview component

35 lines (34 loc) 1.49 kB
/**----------------------------------------------------------------------------------------- * 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"; /** * Allows customizing the header content of the ListView. To define a header template, nest an `<ng-template>` tag * with the `kendoListViewHeaderTemplate` directive inside the `<kendo-listview>` tag * ([see example]({% slug templates_listview %}#toc-header-template)). * * @example * ```typescript * @Component({ * template: ` * <kendo-listview [data]="items"> * <ng-template kendoListViewHeaderTemplate> * <div class="header-content"> * <h3>Product List</h3> * <button kendoListViewAddCommand>Add New Item</button> * </div> * </ng-template> * </kendo-listview> * ` * }) * export class AppComponent { } * ``` */ export declare class HeaderTemplateDirective { templateRef: TemplateRef<any>; constructor(templateRef: TemplateRef<any>); static ɵfac: i0.ɵɵFactoryDeclaration<HeaderTemplateDirective, never>; static ɵdir: i0.ɵɵDirectiveDeclaration<HeaderTemplateDirective, "[kendoListViewHeaderTemplate]", never, {}, {}, never, never, true, never>; }