15 lines
297 B
TypeScript
15 lines
297 B
TypeScript
import { HTMLImageElement } from './HTMLImageElement'
|
|
import * as _ from './utils'
|
|
|
|
export function Image() {
|
|
// @ts-ignore
|
|
_.INTERNALS.set(this, {
|
|
attributes: {},
|
|
localName: 'img',
|
|
innerHTML: '',
|
|
shadowRoot: null,
|
|
shadowInit: null,
|
|
})
|
|
}
|
|
|
|
Image.prototype = HTMLImageElement.prototype
|