Dart / Polymer loading screen?
I want to give users some visual feedback while loading. I'm wondering if there is a way to hook into the polymer loading / binding phase so that the user can show the loading screen? Silverlight has something like this where you can show a custom progress bar at load time.
If there is a way how is this done with Dart?
+3
source to share
1 answer
This example (JS) shows how to make a splash screen using native HTML imports without Polymer: http://jsbin.com/wozorebo/4/quiet
It also shows how to use the CSS :unresolved
pseudo-class .
With Polymer you can listen to an polymer-ready
event to do something like this. Apply the class to the body element when this event fires.
+4
source to share