Merge pull request #2732 from tugcekucukoglu/lazy-load

Fixed #2729 - DataTable: No onLazyLoad property in virtualScrollerOpt…
pull/2734/head
Tuğçe Küçükoğlu 2022-06-29 14:59:57 +03:00 committed by GitHub
commit 1efb6dd0c1
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 5 additions and 0 deletions

View File

@ -153,6 +153,11 @@ export interface VirtualScrollerProps {
* Whether to load items.
*/
loading?: boolean | undefined;
/**
* Callback to invoke in lazy mode to load new data.
* @param {VirtualScrollerLazyEvent} event - Custom lazy event.
*/
onLazyLoad?: (event: VirtualScrollerLazyEvent) => void;
}
export interface VirtualScrollerSlots {