Page loading animation and text

Develop and Deploy Cross-Browser Web Apps .
Post Reply
joedarock
Posts: 169
Joined: Thu Nov 19, 2015 8:39 pm

Page loading animation and text

Post by joedarock »

When the app is loading and before it starts, an animation "......" with a text line above it is displayed. How can I change the text and the animation image?

support
Posts: 356
Joined: Sat Apr 27, 2013 9:22 am

Re: Page loading animation and text

Post by support »

javascript code
xui.launch('App', function(){
   // remove the '...' dom node, 
   // or you can do any thing in the callback
   xui('loading dom id').remove();
});

joedarock
Posts: 169
Joined: Thu Nov 19, 2015 8:39 pm

Re: Page loading animation and text

Post by joedarock »

It worked, once I figured out the code goes in index.html

Post Reply