@progress/kendo-angular-listview
Version:
Kendo UI Angular listview component
35 lines (34 loc) • 1.5 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";
/**
* Overrides the default loader content of the ListView. To define a loader template, nest an `<ng-template>` tag
* with the `kendoListViewLoaderTemplate` directive inside the `<kendo-listview>` tag
* ([see example]({% slug templates_listview %}#toc-loader-template)).
*
* @example
* ```typescript
* @Component({
* template: `
* <kendo-listview [data]="items" [loading]="isLoading">
* <ng-template kendoListViewLoaderTemplate>
* <div class="custom-loader">
* <kendo-loader></kendo-loader>
* <p>Loading data, please wait...</p>
* </div>
* </ng-template>
* </kendo-listview>
* `
* })
* export class AppComponent { }
* ```
*/
export declare class LoaderTemplateDirective {
templateRef: TemplateRef<any>;
constructor(templateRef: TemplateRef<any>);
static ɵfac: i0.ɵɵFactoryDeclaration<LoaderTemplateDirective, never>;
static ɵdir: i0.ɵɵDirectiveDeclaration<LoaderTemplateDirective, "[kendoListViewLoaderTemplate]", never, {}, {}, never, never, true, never>;
}