navigate eventversion added: 1.3
Description: A wrapper event for popstate
The navigate event is a wrapper around
popstate event. In addition to providing a single event for all browsers it also provides a data object in both cases allowing for the unification of handlers. This feature is used by the
$.mobile.navigate method to include directionality and URL information.
Change the hash fragment twice then log the data provided with the navigate event when the browser moves backward through history. NOTE: The state will not be provided by default in browsers that only support hashchange. For that functionality please see the navigate method docs.