Skip to content

Commit

Permalink
Merge pull request #2732 from tugcekucukoglu/lazy-load
Browse files Browse the repository at this point in the history
Fixed #2729 - DataTable: No onLazyLoad property in virtualScrollerOpt…
  • Loading branch information
tugcekucukoglu committed Jun 29, 2022
2 parents 123b157 + 7089f81 commit 1efb6dd
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions src/components/virtualscroller/VirtualScroller.d.ts
Expand Up @@ -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 {
Expand Down

0 comments on commit 1efb6dd

Please sign in to comment.