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.

29 lines 631 B
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); /** * Image Bitmap. * * @see https://developer.mozilla.org/en-US/docs/Web/API/ImageBitmap */ class ImageBitmap { height; width; /** * Constructor. * * @param width Width. * @param height Height. */ constructor(width, height) { this.width = width; this.height = height; } /** * Disposes of all graphical resources associated with an ImageBitmap. */ close() { // TODO: Not implemented. } } exports.default = ImageBitmap; //# sourceMappingURL=ImageBitmap.cjs.map