pagebeforehide eventversion added: 1.0

Description: Triggered on the "fromPage" we are transitioning away from, before the actual transition animation is kicked off.

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

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

  • nextPage (object)
    • A jQuery collection object that contains the page DOM element that we are transitioning to.

Note that this event will not be dispatched during the transition of the first page at application startup since there is no previously active page.