@prefecthq/prefect-design
Version:
A collection of low-level Vue components.
9 lines (8 loc) • 439 B
TypeScript
type UseVirtualScroller = {
makeItemVisible: (itemKey: unknown) => () => void;
scrollItemIntoView: (itemKey: unknown, options?: ScrollIntoViewOptions) => Promise<void>;
};
export declare function registerVirtualScroller(name: string, scroller: UseVirtualScroller): void;
export declare function unregisterVirtualScroller(name: string): void;
export declare function getVirtualScroller(name: string): UseVirtualScroller;
export {};