Icons

A list of the icons provided by jQuery Mobile.

jqmData()

Store arbitrary data associated with the specified element. Returns the value that was set.

jqmEnhanceable()

Filter method to respect data-enhance=false parent elements during manual enhancement.

jqmHijackable()

For users that wish to respect data-ajax=false parent elements during custom form and link binding jQuery Mobile provides the $.fn.jqmHijackable filter method.

Loader Widget

Handles the task of displaying the loading dialog when jQuery Mobile pulls in content via Ajax.

navigate

A wrapper event for both hashchange and popstate

pagebeforechange

Triggered twice during the page change cyle: First prior to any page loading or transition and next after page loading completes successfully, but before the browser history has been modified by the navigation process.

pagebeforecreate

Triggered on the page being initialized, before most plugin auto-initialization occurs.

pagebeforehide

Triggered on the “fromPage” we are transitioning away from, before the actual transition animation is kicked off.

pagebeforeshow

Triggered on the “toPage” we are transitioning to, before the actual transition animation is kicked off.

pagechange

This event is triggered after the changePage() request has finished loading the page into the DOM and all page transition animations have completed.

pagechangefailed

This event is triggered when the changePage() request fails to load the page. Callbacks for this particular event will be passed a data object as the 2nd arg.

pagecreate

Triggered when the page has been created in the DOM (via ajax or other) but before all widgets have had an opportunity to enhance the contained markup.

pagehide

Triggered on the “fromPage” after the transition animation has completed.

pageinit

Triggered on the page being initialized, after initialization occurs.

pageload

Triggered after the page is successfully loaded and inserted into the DOM.

pageremove

Triggered just before the framework attempts to remove an external page from the DOM.

pageshow

Triggered on the “toPage” after the transition animation has completed.

swipe

Triggered when a horizontal drag of 30px or more (and less than 75px vertically) occurs within 1 second duration.

swipeleft

Triggered when a swipe event occurs moving in the left direction.

swiperight

Triggered when a swipe event occurs moving in the right direction.

tap

Triggered after a quick, complete touch event.

taphold

Triggered after a sustained complete touch event.

updatelayout

Triggered by components within the framework that dynamically show/hide content.