是否可以指定changePage方向的种类和changePage的方向?就像是:$.mobile.changePage("mySpecialPlace.html", {transition: "slideup"}, {direction: reverse});
Jas*_*per 10
文档:http://jquerymobile.com/demos/1.1.1/docs/api/methods.html
你很接近,但是检查了我上面链接的文档,它会显示你可以为.changePage()方法指定的所有选项的确切结构.
$.mobile.changePage("mySpecialPlace.html", {
transition : "slideup",
reverse : true //notice options are passed via the same object
});
Run Code Online (Sandbox Code Playgroud)
| 归档时间: |
|
| 查看次数: |
979 次 |
| 最近记录: |