I would use the application launch function. Select Application and click the plus next to launch. Add your code in that function.
Sencha onReady() function
-
01-10-2022 - |
Question
I am very new to Sencha.
Now I am using Sencha architect to develop my application. To add a functionality I am using an opensource extension in my application. The documentation for the extension tells to add piece of code to the onReady() function. But I am stuck here because I am not able to find the onReady() function in my Application.
The question is where to find the onReady() function in a Sencha application while using Sencha Architect 3.0.2?
Solution
OTHER TIPS
Use:
Ext.onReady(function() {
// code
} )
Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow