-
Sencha User
Application loading...
Application loading...
Can anyone tell me or point me in the direction of an example of how the page loading is done on the EXT JS samples page? http://extjs.com/deploy/dev/examples/samples.html
I have a large app that takes a few seconds to load on slower connections, I want to be able to give users some feedback on what is going on.
Thanks.
-
Sencha - Ext JS Dev Team
Put the loading indicator in the page as hardcoded HTML.
Put the scripts at the bottom of the body.
This way the page begins rendering before loading the scripts and you get to see the loading indicator.
In your onReady function, just before you create the Viewport, delete the loading indicator.
-
@putty
What stops you from viewing the source? 
-
Sencha User
Thanks guys,
Didn’t think this would be as simple as it was. Got it working in about 10 min.
Cheers.
Sencha is used by over two million developers. Join the community, wherever you’d like that community to be
or Join Us