@jiaozhiye/qm-design-vue
Version:
A Component Library for Vue3.0
42 lines (41 loc) • 1.76 kB
TypeScript
declare const LazyLoad: import("../_utils/types").SFCWithInstall<import("vue").DefineComponent<{
delay: number;
forceRender: boolean;
unmountIfInvisible: boolean;
rootMargin: string;
threshold: number | number[];
trackVisibility: boolean;
skip: boolean;
height?: string | number | undefined;
placeholder?: import("../_utils/types").JSXElement | undefined;
class?: string | import("../_utils/types").Arrayable<Record<string, boolean>> | undefined;
style?: import("../_utils/types").StyleValue | undefined;
root?: Element | null | undefined;
}, () => any, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
change: (inView: boolean, entry: IntersectionObserverEntry) => boolean;
}, string, import("vue").PublicProps, Readonly<{
delay: number;
forceRender: boolean;
unmountIfInvisible: boolean;
rootMargin: string;
threshold: number | number[];
trackVisibility: boolean;
skip: boolean;
height?: string | number | undefined;
placeholder?: import("../_utils/types").JSXElement | undefined;
class?: string | import("../_utils/types").Arrayable<Record<string, boolean>> | undefined;
style?: import("../_utils/types").StyleValue | undefined;
root?: Element | null | undefined;
}> & Readonly<{
onChange?: ((inView: boolean, entry: IntersectionObserverEntry) => any) | undefined;
}>, {
delay: number;
forceRender: boolean;
unmountIfInvisible: boolean;
rootMargin: string;
threshold: number | number[];
trackVisibility: boolean;
skip: boolean;
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>>;
export default LazyLoad;
export type { LazyLoadProps } from './src/props';