shineout
Version:
Shein 前端组件库
14 lines (13 loc) • 477 B
TypeScript
declare type LazyConfig = {
container?: Element | null;
element: Element;
render: Function;
offset: number;
noRemove?: boolean;
observer?: IntersectionObserver;
};
export declare function dispatch(): void;
export declare function removeStack(id?: string | null, removeListener?: boolean): void;
export declare function addStack(obj: LazyConfig): string | null;
export declare function throttleWrapper(cb: Function): (...args: any[]) => void;
export {};