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.