UNPKG

happy-dom

Version:

Happy DOM is a JavaScript implementation of a web browser without its graphical user interface. It includes many web standards from WHATWG DOM and HTML.

13 lines (11 loc) 494 B
import type HTMLCanvasElement from '../nodes/html-canvas-element/HTMLCanvasElement.js'; import type HTMLImageElement from '../nodes/html-image-element/HTMLImageElement.js'; import type HTMLVideoElement from '../nodes/html-video-element/HTMLVideoElement.js'; import type ImageBitmap from './ImageBitmap.js'; import type OffscreenCanvas from './OffscreenCanvas.js'; export type TImageBitmapSource = | HTMLCanvasElement | OffscreenCanvas | HTMLImageElement | HTMLVideoElement | ImageBitmap;