UNPKG

el-table-infinite-scroll

Version:
17 lines (16 loc) 549 B
import type { ObjectDirective, Plugin } from 'vue'; export type InfiniteScrollUpOptions = { load: () => void | Promise<void>; disabled?: boolean; distance?: number; delay?: number; immediate?: boolean; }; declare const InfiniteScrollUp: ObjectDirective<HTMLElement & { _InfiniteScrollStore: { handleScroll: () => void; options: InfiniteScrollUpOptions; }; }, InfiniteScrollUpOptions> & Plugin; export default InfiniteScrollUp; export declare function throttle(func: () => void, wait: number): () => void;