@softvisio/ext
Version:
ExtJS patches
54 lines (47 loc) • 1.49 kB
JavaScript
import Ext_container_Container from '../../../Ext/container/Container.js';
export default class Ext_calendar_view_Multi extends Ext_container_Container {
static PROPERTIES() { return [
'compact',
'compactOptions',
'defaultView',
'layout',
'store',
'timezoneOffset',
'value',
'views',
]};
static EVENTS() { return [
{name:'ready', parameters:'cmp,cmpObj'},
{name:'created', parameters:'cmp'}
]};
static getProperties(properties) {
properties = properties.concat(Ext_calendar_view_Multi.PROPERTIES());
return Ext_container_Container.getProperties(properties);
}
static getEvents(events) {
events = events.concat(Ext_calendar_view_Multi.EVENTS());
return Ext_container_Container.getEvents(events);
}
static get observedAttributes() {
var attrs = super.observedAttributes
Ext_calendar_view_Multi.PROPERTIES().forEach(function (property, index, array) {
attrs.push(property)
})
Ext_calendar_view_Multi.EVENTS().forEach(function (eventparameter, index, array) {
attrs.push('on' + eventparameter.name)
})
return attrs
}
constructor(properties, events) {
super (
properties.concat(Ext_calendar_view_Multi.PROPERTIES()),
events.concat(Ext_calendar_view_Multi.EVENTS())
)
}
connectedCallback() {
super.connectedCallback()
}
attributeChangedCallback(attrName, oldVal, newVal) {
super.attributeChangedCallback(attrName, oldVal, newVal)
}
}