mbritton
18 Jan 2012, 1:50 PM
The Ext JS 4 library is present in my includes. This file is my application, where I'm going to put all my Ext stuff:
Ext.define('view.extjs.ExtView', {
extend:'Ext.app.Application',
alias:'widget.extview',
launch: function() {
console.log('ExtView Launch');
}
});
In another, non-Ext Javascript class, I want to get a reference to this application and add items to it. I'm not using Viewport.
How is this done? This isn't working:
Ext.create('view.extjs.ExtView', {
launch: function() {
console.log('ExtView Launch');
}
});
Thanks in advance!
Ext.define('view.extjs.ExtView', {
extend:'Ext.app.Application',
alias:'widget.extview',
launch: function() {
console.log('ExtView Launch');
}
});
In another, non-Ext Javascript class, I want to get a reference to this application and add items to it. I'm not using Viewport.
How is this done? This isn't working:
Ext.create('view.extjs.ExtView', {
launch: function() {
console.log('ExtView Launch');
}
});
Thanks in advance!