jQuery Mobile Event

jQuery Mobile Event Reference Manual

The following table lists all jQuery Mobile events.

Note:Please bind the event by using the on() method.

Event Description
hashchange Enable bookmarkable #hash history records.
navigate Wrapper event for hashchange and popstate.
orientationchange Triggered when a user rotates their mobile device vertically or horizontally.
pagebeforechange Triggered twice within the page change cycle: once before any page load or transition, and then again after the page successfully completes loading but before the browser navigation process modifies the browser history.
pagebeforecreate Triggered when the page is about to be initialized but before the enhancement starts.
pagebeforehide Triggered before the transition animation starts, on the 'source' page.
pagebeforeload Triggered before any load request is made.
pagebeforeshow Triggered before the transition animation starts, on the 'destination' page.
pagechange Triggered after the changePage() request has completed loading the page into the DOM and all page transition animations have completed.
pagechangefailed Triggered when the changePage() request fails to load the page.
pagecreate Triggered when the page has been created but before the enhancement is completed.
pagehide Triggered after the transition animation completes, on the 'source' page.
pageinit Triggered when the page has been initialized and enhanced.
pageload Triggered after the page is successfully loaded and inserted into the DOM.
pageloadfailed Triggered if the page load request fails.
pageremove Triggered before an external page is removed from the DOM before the window view.
pageshow Triggered after the transition animation completes, on the 'destination' page.
scrollstart Triggered when a user starts scrolling the page.
scrollstop Triggered when a user stops scrolling the page.
swipe Triggered when a user horizontally swipes over an element.
swipeleft Triggered when a user swipes from left over an element by more than 30px.
swiperight Triggered when a user swipes from right over an element by more than 30px.
tap Triggered when a user clicks an element.
taphold Triggered when an element is clicked and held for one second.
throttledresize Enable bookmarkable #hash history
updatelayout Triggered by jQuery Mobile component that dynamically displays/hides 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 Virtualized mouseover event handler
vmouseup Virtualized mouseup event handler