UNPKG

@nuxt-modules/lazy-load

Version:
21 lines (20 loc) 486 B
import { ComputedRef } from 'vue'; export declare type LazyLoadOptions = { selector?: string; options?: { rootMargin: string; threshold: number; enableAutoReload: boolean; [key: string]: any; }; [key: string]: any; }; export declare type Observer = { observe: Function; observer: IntersectionObserver; triggerLoad: Function; }; export declare type UseLazyLoad = { init(): Observer; observer: ComputedRef<Observer>; };