new Widget(args)
Base class for all widgets
Name | Type | Description |
---|---|---|
args |
Object | widget arguments |
Example
var widget = new ChildOfWidget({
callback : function(keys) { ... }, // called with the current data
container: widget_appended_to_this
});
Methods
-
val(value){Object}
Get/set widget's values
-
Name Type Description value
Object new value Returns:
Type Description Object (new) value