android - JQueryMobile: does data-transition="slideback" or alike exist? -
when clicking on "home" button in menu, want page transition (data-transition="slide") in reverse move. does data-transition="slideback" exist ?
you can this:
$.mobile.changepage("help.html", { reloadpage: true, transition: "slide", reverse: true });
you wanted effect.
working example: http://jsfiddle.net/gajotres/82ke9/
to test it, go second page , click button slide back.
or there's pure html solution:
<a href="#index" data-role="button" data-direction="reverse" data-transition="slide">reverse slide - variant</a>
Comments
Post a Comment