Hello,
Is it possible to set globals before loading the first controller and view?
For example i have a app.js which got :
app.js :
Code:
Ext.application({ name: 'app',
controllers: [
'Main',
],
});
and a
controllers/Main.js :
Code:
Ext.define('IdeoSlideShow.controller.Main', { extend: 'Ext.app.Controller',
views: [
'Home',
],
...
The Home view and the Main controller are loaded before i can do anything in the init functions.
Is it possible to set a global variable to configure the Home view?
For example if i want to set the itemTpl of my Home view list with a global variable how can i do that ?
regards