With jQuery Mobile 1.3, the .navigate () function has been added. I heard that this is the recommended way to change pages, and it seems they addressed the issues of transferring data between pages.
The problem is that since it is simplified, how do I access the other options that changePage offers? I would really like to use the {data} .navigate () part, but I would also like to set some parameters that I usually do with changePage (for example, transition, direction, etc.).
Currently, I have a "router" that listens for all navigation events, and then passes on any data that it receives to the next page (performing other simple logic, for example, setting up a view controller).
Are there hidden properties in [, options] that I could set simple things like direction and transition?
Chris source share