JQuery Mobile changePage with direction

Is it possible to indicate both the type of changePage direction and the direction of this changePage? Something like: $.mobile.changePage("mySpecialPlace.html", {transition: "slideup"}, {direction: reverse});

+4
source share
1 answer

Documentation: http://jquerymobile.com/demos/1.1.1/docs/api/methods.html

You were close, but you can check the documentation associated with it above, it will show you the exact structure of all the parameters that you can specify for the .changePage() method.

 $.mobile.changePage("mySpecialPlace.html", { transition : "slideup", reverse : true //notice options are passed via the same object }); 
+10
source

All Articles