@softvisio/ext
Version:
ExtJS patches
49 lines (42 loc) • 1.44 kB
JavaScript
import Ext_pivot_d3_AbstractContainer from '../../../Ext/pivot/d3/AbstractContainer.js';
export default class Ext_pivot_d3_Container extends Ext_pivot_d3_AbstractContainer {
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_Container.PROPERTIES());
return Ext_pivot_d3_AbstractContainer.getProperties(properties);
}
static getEvents(events) {
events = events.concat(Ext_pivot_d3_Container.EVENTS());
return Ext_pivot_d3_AbstractContainer.getEvents(events);
}
static get observedAttributes() {
var attrs = super.observedAttributes
Ext_pivot_d3_Container.PROPERTIES().forEach(function (property, index, array) {
attrs.push(property)
})
Ext_pivot_d3_Container.EVENTS().forEach(function (eventparameter, index, array) {
attrs.push('on' + eventparameter.name)
})
return attrs
}
constructor(properties, events) {
super (
properties.concat(Ext_pivot_d3_Container.PROPERTIES()),
events.concat(Ext_pivot_d3_Container.EVENTS())
)
}
connectedCallback() {
super.connectedCallback()
}
attributeChangedCallback(attrName, oldVal, newVal) {
super.attributeChangedCallback(attrName, oldVal, newVal)
}
}