| Widget | Description |
|---|
| Button Widget | It creates a button widget. |
| Checkboxradio Widget | It creates a checkboxradio widget. |
| Collapsible Widget | It creates a collapsible block of content. |
| Collapsibleset Widget | It creates a set of collapsible blocks of content. |
| Controlgroup Widget | It groups the buttons together. |
| Dialog Widget | It opens content in an interactive overlay. |
| Filterable Widget | It makes the children of an element filterable. |
| Flipswitch Widget | It creates a flipswitch widget |
| Listview Widget | It creates a listview widget |
| Loader Widget | It handles the task of displaying the loading dialog when JQuery Mobile pulls in content via Ajax. |
| Methods | Description |
|---|
| .buttonMarkup() | It adds the button styling to an element. |
| .enhanceWithin() | It enhances all the children of all elements in the set of matched elements. |
| .fieldcontain() | It adds field container styling to an element. |
| jqmData() | It stores arbitrary data associated with the specified element. It returns the value that was set. |
| jQuery.mobile.degradeInputsWithin() | It alters the input type of form widgets. |
| jQuery.mobile.getInheritedTheme() | It retrieves the theme of the nearest parent that has a theme assigned. |
| jQuery.mobile.navigate() | It alters the URL and track history. It works for browsers with and without the new history API. |
| jQuery.mobile.path.get() | It uses utility method for determining the directory portion of an URL. |
| jQuery.mobile.path.parseUrl() | It uses utility method for parsing a URL and its relative variants into an object that makes accessing the components of the URL easy. |
| jQuery.mobile.silentScroll() | It scrolls to a particular Y position without triggering scroll event listeners. |
JQuery Mobile offers several custom events that build upon native events to create useful hooks for development.
| Events | Description |
|---|
| hashchange | It enables bookmarkable #hash history. |
| mobileinit | Event indicating that JQuery Mobile has finished loading. |
| navigate | A wrapper event for both hashchange and popstate. |
| orientationchange event | Device portrait / landscape orientation event |
| scrollstart | It triggers when a scroll begins. |
| scrollstop | It triggers when a scroll finishes. |
| swipe | Triggered when a horizontal drag of 30px or more (and less than 30px vertically) occurs within 1 second duration. |
| tap | Triggered after a quick, complete touch event. |
| taphold | Triggered after a sustained, complete touch event. |
| vclick | Virtualized click event handler. |