javascript - Callback in Dart when the page is fully loaded -


you may know totally fell in love dart , polymer , once again, have question addressing 2 technologies.

my application compex polymer app written in dart. there sort of "pages" whereas page shown once user performed action. pages contain various types of content , number of items can reach 0 few hundreds.

to enhance user experience i've build loader can register elements @ , once registered elements loaded, page shown. works , feels pretty amazing it's way complicated make sure react on different states can occur , overall not happy loader thingy.

thus wanted ask if there in dart or polymer helps me show loading indicator long not loaded , once done, hides loader?

use html/css-only loading indicator , style becomes hidden when unresolved attribute removed body. see https://www.polymer-project.org/0.5/articles/styling-elements.html#preventing-fouc


Comments

Popular posts from this blog

asp.net mvc - SSO between MVCForum and Umbraco7 -

Python Tkinter keyboard using bind -

ubuntu - Selenium Node Not Connecting to Hub, Not Opening Port -