21 lines
618 B
TypeScript
21 lines
618 B
TypeScript
|
|
import HTMLImageElement from './HTMLImageElement.js';
|
||
|
|
import * as PropertySymbol from '../../PropertySymbol.js';
|
||
|
|
/**
|
||
|
|
* 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 | null, height?: number | null);
|
||
|
|
}
|
||
|
|
//# sourceMappingURL=Image.d.ts.map
|