@progress/kendo-angular-listview
Version:
Kendo UI Angular listview component
48 lines (47 loc) • 1.78 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 { ListViewComponent } from '../listview.component';
import * as i0 from "@angular/core";
/**
* Encapsulates the in-memory handling of paging for the ListView component
* ([see example]({% slug paging_listview %}#toc-binding-directive)).
*
* @example
* ```typescript
* @Component({
* selector: 'my-app',
* template: `
* <kendo-listview [kendoListViewBinding]="listItems">
* <ng-template kendoListViewItemTemplate let-dataItem>
* <div>{{ dataItem.name }}</div>
* </ng-template>
* </kendo-listview>
* `
* })
* export class AppComponent {
* listItems = [{ name: 'Item 1' }, { name: 'Item 2' }];
* }
* ```
* @remarks
* Applied to: {@link ListViewComponent}.
*/
export declare class DataBindingDirective {
private listView;
/**
* Specifies the array of data that populates the ListView.
*/
set data(data: any[]);
get data(): any[];
private _data;
private subscriptions;
constructor(listView: ListViewComponent);
ngOnInit(): void;
ngOnDestroy(): void;
private handlePageChange;
private handlePageSizeChange;
private updateListViewData;
static ɵfac: i0.ɵɵFactoryDeclaration<DataBindingDirective, never>;
static ɵdir: i0.ɵɵDirectiveDeclaration<DataBindingDirective, "[kendoListViewBinding]", never, { "data": { "alias": "kendoListViewBinding"; "required": false; }; }, {}, never, never, true, never>;
}