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.
28 lines (25 loc) • 496 B
text/typescript
/**
* Image Bitmap.
*
* @see https://developer.mozilla.org/en-US/docs/Web/API/ImageBitmap
*/
export default class ImageBitmap {
public height: number;
public width: number;
/**
* Constructor.
*
* @param width Width.
* @param height Height.
*/
constructor(width: number, height: number) {
this.width = width;
this.height = height;
}
/**
* Disposes of all graphical resources associated with an ImageBitmap.
*/
public close(): void {
// TODO: Not implemented.
}
}