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