UNPKG

vue-lazyload-imgs

Version:

This Vue component vue-lazyload-imgs is used to implement lazy loading of images in Vue2 (Vue>=2.6.0) and Vue3 framework environments. The difference from some lazy loading image instructions is that this component can lazily load any number of images at

65 lines (64 loc) 2.04 kB
import { PropType } from 'vue-demi'; import { ILazyOptions } from '../scripts/types'; declare const _default: import('vue-demi').DefineComponent<import('vue-demi').ExtractPropTypes<{ [x: string]: { type: PropType<string | object[]>; required: false; default?: undefined; } | { type: PropType<ILazyOptions>; required: false; default: () => any; } | { type: PropType<IntersectionObserverInit>; required: false; default: () => any; }; lazyOptions: { type: PropType<ILazyOptions>; required: false; default: () => any; }; observerOptions: { type: PropType<IntersectionObserverInit>; required: false; default: () => any; }; htmlFieldName: { type: PropType<string>; required: false; }; }>, { instId: number; }, {}, {}, {}, import('vue-demi').ComponentOptionsMixin, import('vue-demi').ComponentOptionsMixin, "update:modelValue"[], "update:modelValue", import('vue-demi').PublicProps, Readonly<import('vue-demi').ExtractPropTypes<{ [x: string]: { type: PropType<string | object[]>; required: false; default?: undefined; } | { type: PropType<ILazyOptions>; required: false; default: () => any; } | { type: PropType<IntersectionObserverInit>; required: false; default: () => any; }; lazyOptions: { type: PropType<ILazyOptions>; required: false; default: () => any; }; observerOptions: { type: PropType<IntersectionObserverInit>; required: false; default: () => any; }; htmlFieldName: { type: PropType<string>; required: false; }; }>> & Readonly<{ "onUpdate:modelValue"?: ((...args: any[]) => any) | undefined; }>, {}, {}, {}, {}, string, import('vue-demi').ComponentProvideOptions, true, {}, any>; export default _default;