Triggered on the "fromPage" we are transitioning away from, before the actual transition animation is kicked off.
Note: The triggering of this event is deprecated as of jQuery Mobile 1.4.0. It will no longer be triggered in 1.6.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.
jQuery( ".selector" ).on( "pagebeforehide", function( event ) { ... } )
Please login to continue.