You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: entries/navigate.xml
+2-2
Original file line number
Diff line number
Diff line change
@@ -1,9 +1,9 @@
1
1
<?xml version="1.0"?>
2
2
<entryname="navigate"type="event"return="">
3
3
<title>navigate</title>
4
-
<desc>A wrapper event for both hashchange and popstate</desc>
4
+
<desc>A wrapper event for popstate</desc>
5
5
<longdesc>
6
-
<p>The navigate event is a wrapper around both the <code>hashchange</code> and <code>popstate</code> events. 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 <code>$.mobile.navigate</code> method to include directionality and URL information.</p>
6
+
<p>The navigate event is a wrapper around <code>popstate</code> 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 <code>$.mobile.navigate</code> method to include directionality and URL information.</p>
7
7
</longdesc>
8
8
<example>
9
9
<desc>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.</desc>
0 commit comments