Syntax
jQuery.widget( name [, base ], prototype )
| Parameter | Type | Description |
|---|---|---|
| name | String | The name of the widget to create, including the namespace. |
| base | Function() | The base widget to inherit from. This must be a constructor that can be instantiated with the `new` keyword. Defaults to jQuery.Widget. |
| prototype | PlainObject | The object to use as a prototype for the widget. |