mirror of
https://github.com/cocos/cocos4.git
synced 2026-11-20 23:52:40 +08:00
10 lines
195 B
JavaScript
10 lines
195 B
JavaScript
let HTMLImageElement = require('./HTMLImageElement');
|
|
|
|
class Image extends HTMLImageElement {
|
|
constructor(width, height) {
|
|
super(width, height, true)
|
|
}
|
|
}
|
|
|
|
module.exports = Image;
|