UNPKG

vue-next-directive

Version:
19 lines (18 loc) 442 B
import { imageManagerOption } from './types/Lazy'; export declare const STATE: { loading: number; loaded: number; error: number; }; export declare class ImageManager { el: HTMLElement; src: string; state: number; loading: string; error: string; cache: Set<string>; constructor(option: imageManagerOption); setImageSrc(src?: string): void; renderSrc(): void; updateSrc(src: string): void; }