How to apply LoadMask for a standard ExtJS MVC application when loading the necessary files?
An example of such an MVC application is the following snippet for app.js :
Ext.Loader.setConfig({enabled:true}); Ext.application({ requires: [ 'Ext.container.Viewport', ], name: 'APP', appFolder: 'app', controllers: [ 'Main' ], launch: function() { Ext.create('Ext.container.Viewport', { layout: 'fit', items: [ { xtype: 'main' } ] }); } });
where main above is the xtype for the MVC view, which can extend the ExtJS Panel , etc.
Is there a standard approach for this ubiquitous requirement?
source share