UNPKG

html-to-image

Version:

Generates an image from a DOM node using HTML5 canvas and SVG.

4 lines (3 loc) 256 B
import type { Options } from './types'; export declare function getWebFontCSS<T extends HTMLElement>(node: T, options: Options): Promise<string>; export declare function embedWebFonts<T extends HTMLElement>(clonedNode: T, options: Options): Promise<void>;