UNPKG

html-to-image

Version:

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

3 lines (2 loc) 162 B
import type { Options } from './types'; export declare function cloneNode<T extends HTMLElement>(node: T, options: Options, isRoot?: boolean): Promise<T | null>;