Skip to content

Instantly share code, notes, and snippets.

@Integralist
Created November 3, 2011 11:53
Show Gist options
  • Save Integralist/1336327 to your computer and use it in GitHub Desktop.
Save Integralist/1336327 to your computer and use it in GitHub Desktop.
The list of events that are triggered in a jQuery Mobile application (in the relevant order)
  • pagebeforechange This event is triggered prior to any page loading or transition

  • pagebeforeload Triggered before any load request is made

  • pagebeforecreate Triggered on the page being initialized, before most plugin auto-initialization occurs

  • pageload Triggered after the page is successfully loaded and inserted into the DOM

  • pagebeforechange This event is triggered prior to any page loading or transition

  • pagebeforehide Triggered on the "fromPage" we are transitioning away from, before the actual transition animation is kicked off

  • pagebeforeshow Triggered on the "toPage" we are transitioning to, before the actual transition animation is kicked off

  • pagehide Triggered on the "fromPage" after the transition animation has completed

  • pageshow Triggered on the "toPage" after the transition animation has completed

  • pagechange This event is triggered after the changePage() request has finished loading the page into the DOM and all page transition animations have completed

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment