From 0d764acfe523584f815646b406e3902773c8715f Mon Sep 17 00:00:00 2001 From: melloware Date: Wed, 7 Jun 2023 09:47:31 -0400 Subject: [PATCH] Fix #4489: Dropdown add getVirtualScroller --- components/lib/dropdown/dropdown.d.ts | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/components/lib/dropdown/dropdown.d.ts b/components/lib/dropdown/dropdown.d.ts index ed53664044..415b1c3e3b 100644 --- a/components/lib/dropdown/dropdown.d.ts +++ b/components/lib/dropdown/dropdown.d.ts @@ -14,7 +14,7 @@ import { TooltipPassThroughOptions } from '../tooltip/tooltip'; import { TooltipOptions } from '../tooltip/tooltipoptions'; import { FormEvent } from '../ts-helpers'; import { IconType, PassThroughType } from '../utils'; -import { VirtualScrollerPassThroughOptions, VirtualScrollerProps } from '../virtualscroller'; +import { VirtualScroller, VirtualScrollerPassThroughOptions, VirtualScrollerProps } from '../virtualscroller'; export declare type DropdownPassThroughType = PassThroughType; @@ -523,4 +523,9 @@ export declare class Dropdown extends React.Component { * @return {HTMLElement} Overlay element */ public getOverlay(): HTMLElement; + /** + * Used to get the options of inline virtualScroller component. + * @return {VirtualScroller} VirtualScroller component + */ + public getVirtualScroller(): VirtualScroller; }