@softvisio/ext
Version:
ExtJS patches
20 lines (18 loc) • 515 B
JavaScript
import Ext_Image from './Ext/Image.js';
import ElementParser from './common/ElementParser.js';
export default class EWCImage extends Ext_Image {
constructor() {
super ([], []);
this.xtype = 'image';
}
}
try {
if (window.customElements.get('ext-image') == undefined) {
window.customElements.define('ext-image', ElementParser.withParsedCallback(EWCImage));
}
}
catch(e) {
if (window.customElements.get('ext-image') == undefined) {
window.customElements.define('ext-image', EWCImage);
}
}