pagebeforeshow event

pagebeforeshow

pagebeforeshow eventversion added: 1.0, deprecated: 1.4.0

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

  • jQuery( ".selector" ).on( "pagebeforeshow", 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.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.

© The jQuery Foundation and other contributors
Licensed under the MIT License.
https://api.jquerymobile.com/pagebeforeshow

在线笔记
App下载
App下载

扫描二维码

下载编程狮App

公众号
微信公众号

编程狮公众号

意见反馈
返回顶部