pagebeforeshow event

Triggered on the "toPage" we are transitioning to, 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 pagebeforeshow is the pagecontainer widget's pagecontainerbeforeshow event. In jQuery Mobile 1.4.0, the two events are identical except for their name and the fact that pagecontainerbeforeshow is triggered on the pagecontainer, whereas pagebeforeshow is triggered on the page.

jQuery( ".selector" ).on( "pagebeforeshow", function( event ) { ... } )
doc_jQuery
2016-03-28 15:04:54
Comments
Leave a Comment

Please login to continue.