new Collapse(args)
(Un-)collapse a box
Name | Type | Description |
---|---|---|
args |
Object | widget arguments |
Example
var collapse = new Collapse({
v : v,
bb: bb,
collapsed: true, // initial state (default: false)
callback: function(collapsed) { ... },
container: collapse_appended_to_this
});
Extends
Methods
-
inherited val(value){Object}
Get/set widget's values
-
Name Type Description value
Object new value Returns:
Type Description Object (new) value