-
24 Aug 2012 1:39 AM #1
Ext.application launch function question ?
Ext.application launch function question ?
Hi,
I added a launch function to my Ext.application.
I believed that this override the old content of launch function.
I explain :
I began my project with Sencha Architect 2.0. I updated today with 2.1.
In my app.js, i had by default:
launch: function() {
Ext.create('MyApp.view.Main', {fullscreen: true});
}
but i would like to have :
launch: function() {
MyApp.main = Ext.create('MyApp.view.Main', {fullscreen: true});
}
How to realize this with Sencha Architect ?
-
24 Aug 2012 6:58 AM #2
Right click your Main view and click "Unmark as Initial View".
Go to the application node and add a launch function
Put in the contents of there
Code:MyApp.main = Ext.create('MyApp.view.Main', {fullscreen: true});Aaron Conran
@aconran
Sencha Architect Development Team
-
24 Aug 2012 7:00 AM #3


Reply With Quote