wigjs
Version:
Minimalistic, scalable, extensible, dependency-less Front-end factory for HTML5 applications
19 lines (15 loc) • 473 B
JavaScript
var ViewRegistryItem = module.ViewRegistryItem = Class.extend({
constructor: function (view, parentView) {
this.view = view;
this.parent = (parentView && parentView.getID());
this.children = [];
this.customEvents = {};
this.contextRegistry = new Registry();
},
getCustomEvents: function () {
return this.customEvents;
},
getContextRegistry: function () {
return this.contextRegistry;
}
});