jQuery Mobile-页面事件顺序 [英] Jquery mobile - page events order
本文介绍了jQuery Mobile-页面事件顺序的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
从一页导航到另一页时触发的页面事件顺序是什么?
What is the order of page events triggered when navigate from one page to another ?
推荐答案
我使用多页模板对其进行了检查,发现以下结果:
(从A导航到B)
I checked it with multi page template and found the following result:
(Navigate from A to B)
页面B ---创建前的页面
page B---pagebeforecreate
页面B ---页面创建
B页 --- pageinit
page B---pageinit
A页 ---隐藏页面
页面B ---显示前页
页面A ---页面删除
页面A ---页面隐藏
页面B ---页面显示
这篇关于jQuery Mobile-页面事件顺序的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文