Monday, October 26, 2015

Re: Progress bar during GWT bootstrap process?

But, I'm talking about the time from when the user visits the site, to the time when the entrypoint's onModuleLoad is called. Often there can be a few seconds of lag between nocache.js loading -> onModuleLoad being called. Is there a way to show a progress bar during that period, e.g to show the remaining assets to be downloaded before onModuleLoad is called?

On Tue, Oct 27, 2015 at 5:45 AM, Peter Donald <peter@realityforge.org> wrote:
The easiest way to do that is to just have the base page have a
loading indicator and have the last action in your EntryPoint remove
the loading indicator. If you want progress as loads occur then you
can just update the progress level from each step in your EntryPoint.
HTH

On Tue, Oct 27, 2015 at 10:54 AM, Ali Akhtar <ali.rac200@gmail.com> wrote:
> When GWT based sites are first loaded, the browser shows a loading indicator
> as nocache.js is downloaded. But then, when nocache.js inserts the actual
> scripts, there's no loading indicator, and the user is left staring at an
> idle screen. Not a very good experience.
>
> Is it possible to show a progress bar indicator as the other gwt assets
> loaded during the bootstrap process, are downloaded?
>
> --
> You received this message because you are subscribed to the Google Groups
> "GWT Users" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to google-web-toolkit+unsubscribe@googlegroups.com.
> To post to this group, send email to google-web-toolkit@googlegroups.com.
> Visit this group at http://groups.google.com/group/google-web-toolkit.
> For more options, visit https://groups.google.com/d/optout.



--
Cheers,

Peter Donald

--
You received this message because you are subscribed to a topic in the Google Groups "GWT Users" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/google-web-toolkit/Cr8DuGnX1lk/unsubscribe.
To unsubscribe from this group and all its topics, send an email to google-web-toolkit+unsubscribe@googlegroups.com.
To post to this group, send email to google-web-toolkit@googlegroups.com.
Visit this group at http://groups.google.com/group/google-web-toolkit.
For more options, visit https://groups.google.com/d/optout.

--
You received this message because you are subscribed to the Google Groups "GWT Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to google-web-toolkit+unsubscribe@googlegroups.com.
To post to this group, send email to google-web-toolkit@googlegroups.com.
Visit this group at http://groups.google.com/group/google-web-toolkit.
For more options, visit https://groups.google.com/d/optout.

No comments:

Post a Comment