mirror of
https://github.com/smallmain/cocos-enhance-kit.git
synced 2025-01-14 23:11:06 +00:00
18 lines
388 B
JavaScript
18 lines
388 B
JavaScript
/* eslint-disable */
|
|
// import HTMLElement from './HTMLElement';
|
|
|
|
// export default class HTMLImageElement extends HTMLElement
|
|
// {
|
|
// constructor(){
|
|
// super('img')
|
|
// }
|
|
// };
|
|
|
|
import HTMLElement from './HTMLElement'
|
|
|
|
const imageConstructor = swan.createImage().constructor;
|
|
|
|
// imageConstructor.__proto__.__proto__ = new HTMLElement();
|
|
|
|
export default imageConstructor;
|