1 | const HTMLElement = require('./HTMLElement');
|
2 | const {image, descriptors} = require('./ImagePrototype');
|
3 |
|
4 | class Image extends HTMLElement {
|
5 | constructor(ownerDocument) {
|
6 | super(ownerDocument, 'img');
|
7 | image.set(this, {});
|
8 | }
|
9 | }
|
10 |
|
11 | Object.defineProperties(Image.prototype, descriptors);
|
12 |
|
13 | module.exports = Image;
|