JqueryUI: Utilities – Widget Factory

Syntax

jQuery.widget( name [, base ], prototype )
ParameterTypeDescription
nameStringThe name of the widget to create, including the namespace.
baseFunction()The base widget to inherit from. This must be a constructor that can be instantiated with the `new` keyword. Defaults to jQuery.Widget.
prototypePlainObjectThe object to use as a prototype for the widget.

Leave a Reply

Your email address will not be published. Required fields are marked *