jQuery Mobile events
jQuery Mobile Event Reference Manual
The following list shows all jQuery Mobile events.
Note: Please use the on() method to bind events.
Event | Description |
---|---|
hashchange | Enable tagging #hash history, the hash value will Changes that occur on a separate click, such as a user clicking the back button, will be handled through the hashchange event. |
navigate | Events that wrap hashchange and popstate |
orientationchange | Orientation change event, in Triggered when the user rotates the mobile device vertically or horizontally. |
pagebeforechange | Event triggered before page switching. Use $.mobile.changePage() to switch pages. This method triggers two events, the pagebeforechange event before the switch, and the pagechange (success) or pagechangefailed (failed) after the switch is completed. |
pagebeforecreate | When the page is initialized, triggered before initialization. |
pagebeforehide | Event triggered after the page is switched and before the old page is hidden. |
pagebeforeload | Triggered before the load request is issued |
pagebeforeshow | Before the page is displayed after switching , the triggered event. |
pagechange | Event triggered after the page switch is successful. Use $.mobile.changePage() to switch pages. This method triggers two events, the pagebeforechange event before the switch, and the pagechange (success) or pagechangefailed (failed) after the switch is completed. |
pagechangefailed | Event triggered when page switching fails. Use $.mobile.changePage() to switch pages. This method triggers two events, the pagebeforechange event before the switch, and the pagechange (success) or pagechangefailed (failed) after the switch is completed. |
pagecontainerbeforeload | Triggers before any request is loaded |
pagecontainerload | When the page loads successfully And trigger after inserting into DOM |
pagecontainerloadfailed | Trigger when the page fails to load |
pagecreate | in The event is triggered after the page is successfully created, but before the enhancement is completed. |
pagehide | Event triggered after the old page is hidden after the page is switched. |
pageinit | Deprecated after version 1.4.0, use pagecreate instead. Events triggered when the page is initialized. |
pageload | Deprecated after version 1.4.0, use pagecontainerload instead. Triggered after the page is completely loaded successfully. |
pageloadfailed | Deprecated after version 1.4.0, use pagecontainerloadfailed instead. Triggered if the page request fails. |
pageremove | Fires before the window view removes the external page from the DOM. |
pageshow | Triggered on the "arrival" page after the transition animation is completed. |
scrollstart | Fires when the user starts scrolling the page. |
scrollstop | Fires when the user stops scrolling the page. |
swipe | Fires when the user swipes horizontally on the element. |
swipeleft | Fires when the user swipes the element from the left beyond 30px. |
swiperight | Triggered when the user swipes the element from the right beyond 30px. |
tap | Triggered when the user taps an element. |
taphold | Triggered when an element taps an element and holds it for one second. |
throttledresize | Enable taggable #hash history |
updatelayout | Show/hide by dynamic Triggered by the jQuery Mobile component of the content. |
vclick | Virtualized click event handler |
vmousecancel | Virtualized mousecancel event Handler |
vmousedown | Virtualized mousedown event handler |
vmousemove | Virtualized mousemove event handler |
vmouseout | Virtualized mouseout event handler |
vmouseover | virtual Virtualized mouseover event handler |
vmouseup | Virtualized mouseup event handler |