pagebeforehide


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 ) { ... } )

Note: The triggering of this event is deprecated as of jQuery Mobile 1.4.0. It will no longer be triggered in 1.5.0.

The replacement for pagebeforehide is the pagecontainer widget's pagecontainerbeforehide event. In jQuery Mobile 1.4.0, the two events are identical except for their name and the fact that pagecontainerbeforehide is triggered on the pagecontainer, whereas pagebeforehide is triggered on the page.