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.
21 lines • 606 B
TypeScript
import HTMLImageElement from './HTMLImageElement.cjs';
import * as PropertySymbol from '../../PropertySymbol.cjs';
/**
* Image as constructor.
*
* Reference:
* https://developer.mozilla.org/en-US/docs/Web/API/HTMLImageElement/Image.
*/
export default class Image extends HTMLImageElement {
[PropertySymbol.tagName]: string;
[PropertySymbol.localName]: string;
[PropertySymbol.namespaceURI]: string;
/**
* Constructor.
*
* @param [width] Width.
* @param [height] Height.
*/
constructor(width?: number, height?: number);
}
//# sourceMappingURL=Image.d.ts.map