Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add optional callback for when the page is loaded #9

Merged
merged 1 commit into from
Apr 16, 2015

Conversation

NevilleS
Copy link
Contributor

The 'onLoadedCallback' is invoked once the page is loaded and the 'pg-loaded' class has been added
to the body. In most cases, this will be done during the call to finish(), but in some cases it will
be delayed until the loading screen itself has finished the "loading in" animation.

NOTE: this callback is issued before the loading screen itself has "finished" animating out and
removing itself from the DOM.

The 'onLoadedCallback' is invoked once the page is loaded and the 'pg-loaded' class has been added
to the body. In most cases, this will be done during the call to finish(), but in some cases it will
be delayed until the loading screen itself has finished the "loading in" animation.

NOTE: this callback is issued before the loading screen itself has "finished" animating out and
removing itself from the DOM.
jhdavids8 added a commit that referenced this pull request Apr 16, 2015
Add optional callback for when the page is loaded
@jhdavids8 jhdavids8 merged commit 2fe3514 into master Apr 16, 2015
@jhdavids8 jhdavids8 deleted the loaded-callback branch April 16, 2015 14:58
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants