From 7089f816df0d89e241b02437fa652361184999ff Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Tu=C4=9F=C3=A7e=20K=C3=BC=C3=A7=C3=BCko=C4=9Flu?= Date: Wed, 29 Jun 2022 14:59:28 +0300 Subject: [PATCH] Fixed #2729 - DataTable: No onLazyLoad property in virtualScrollerOptions props --- src/components/virtualscroller/VirtualScroller.d.ts | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/src/components/virtualscroller/VirtualScroller.d.ts b/src/components/virtualscroller/VirtualScroller.d.ts index 3c8d503c1..8a0590210 100644 --- a/src/components/virtualscroller/VirtualScroller.d.ts +++ b/src/components/virtualscroller/VirtualScroller.d.ts @@ -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 {