pagebeforeshow


pagebeforeshow eventversion added: 1.0

Description: Triggered on the "toPage" we are transitioning to, before the actual transition animation is kicked off.

  • jQuery( ".selector" ).on( "pagebeforeshow", function( event ) { ... } )

Callbacks for this event will receive a data object as their 2nd arg. This data object has the following properties on it:

  • prevPage (object)
    • A jQuery collection object that contains the page DOM element that we are transitioning away from. Note that this collection is empty when the first page is transitioned in during application startup.