@softvisio/ext
Version:
ExtJS patches
49 lines (42 loc) • 1.42 kB
JavaScript
import Ext_panel_Panel from '../../../Ext/panel/Panel.js';
export default class Ext_pivot_d3_AbstractContainer extends Ext_panel_Panel {
static PROPERTIES() { return [
'configurator',
'drawing',
'matrix',
]};
static EVENTS() { return [
{name:'ready', parameters:'cmp,cmpObj'},
{name:'created', parameters:'cmp'}
]};
static getProperties(properties) {
properties = properties.concat(Ext_pivot_d3_AbstractContainer.PROPERTIES());
return Ext_panel_Panel.getProperties(properties);
}
static getEvents(events) {
events = events.concat(Ext_pivot_d3_AbstractContainer.EVENTS());
return Ext_panel_Panel.getEvents(events);
}
static get observedAttributes() {
var attrs = super.observedAttributes
Ext_pivot_d3_AbstractContainer.PROPERTIES().forEach(function (property, index, array) {
attrs.push(property)
})
Ext_pivot_d3_AbstractContainer.EVENTS().forEach(function (eventparameter, index, array) {
attrs.push('on' + eventparameter.name)
})
return attrs
}
constructor(properties, events) {
super (
properties.concat(Ext_pivot_d3_AbstractContainer.PROPERTIES()),
events.concat(Ext_pivot_d3_AbstractContainer.EVENTS())
)
}
connectedCallback() {
super.connectedCallback()
}
attributeChangedCallback(attrName, oldVal, newVal) {
super.attributeChangedCallback(attrName, oldVal, newVal)
}
}