element-plus
Version:
A Component Library for Vue 3
27 lines (26 loc) • 1.21 kB
TypeScript
import type { SFCWithInstall } from 'element-plus/es/utils';
declare const _InfiniteScroll: SFCWithInstall<import("vue").ObjectDirective<HTMLElement & {
ElInfiniteScroll: {
container: Window | HTMLElement;
containerEl: HTMLElement;
instance: import("vue").ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, import("vue").ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}>>;
delay: number;
lastScrollTop: number;
cb: () => void;
onScroll: () => void;
observer?: MutationObserver | undefined;
};
}, () => void>>;
export default _InfiniteScroll;
export declare const ElInfiniteScroll: SFCWithInstall<import("vue").ObjectDirective<HTMLElement & {
ElInfiniteScroll: {
container: Window | HTMLElement;
containerEl: HTMLElement;
instance: import("vue").ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, import("vue").ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}>>;
delay: number;
lastScrollTop: number;
cb: () => void;
onScroll: () => void;
observer?: MutationObserver | undefined;
};
}, () => void>>;