/jQuery Mobile

Category: Widgets

Widgets are feature-rich, stateful plugins that have a full life-cycle, along with methods and events. Check out the widget factory documentation for more details.

Note: The base widget ($.mobile.widget) is deprecated as of 1.4 and will be removed in 1.5. It is now sufficient to base your custom jQuery Mobile widgets on the jQuery UI widget factory itself. This means that in your call to $.widget() you can omit the base altogether.
$.widget( "my.widget", /* NOTE: no base needed */ {
  options: {
    /* ... */
  _create: function() {
    /* ... */
  /* ... */

Loader Widget

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

Tabs Widget

A single content area with multiple panels, each associated with a header in a list.

Textinput Widget

Creates a textinput widget for textinput, textarea or search input

© The jQuery Foundation and other contributors
Licensed under the MIT License.