mirror of
https://github.com/smallmain/cocos-enhance-kit.git
synced 2025-01-15 15:31:08 +00:00
17 lines
365 B
JavaScript
17 lines
365 B
JavaScript
// import HTMLElement from './HTMLElement';
|
|
|
|
// export default class HTMLImageElement extends HTMLElement
|
|
// {
|
|
// constructor(){
|
|
// super('img')
|
|
// }
|
|
// };
|
|
|
|
import HTMLElement from './HTMLElement'
|
|
|
|
const imageConstructor = tt.createImage().constructor;
|
|
|
|
// imageConstructor.__proto__.__proto__ = new HTMLElement();
|
|
|
|
export default imageConstructor;
|