UNPKG

image-exporter

Version:

Easily download one or more DOM elements as images

10 lines 410 B
import { Config, Image } from "../types"; export declare let windowLogging: boolean; export declare let loggingLevel: string; /** * capture * * Captures images from HTML elements and returns them or downloads them. */ export declare function capture(elements: HTMLElement[] | NodeListOf<HTMLElement> | HTMLElement, userConfig?: Partial<Config>): Promise<Image[] | null>; //# sourceMappingURL=index.d.ts.map