Constructor
# new Bar(opts)
Initialization object
Parameters:
Name | Type | Attributes | Default | Description |
---|---|---|---|---|
opts |
object
|
Button options. |
||
className |
string
|
<optional> |
class of the control |
|
group |
boolean
|
<optional> |
false | is a part of a group, default false |
toggleOne |
boolean
|
<optional> |
only one toggle control is active at a time, default false |
|
autoDeactivate |
boolean
|
<optional> |
used with subbar to deactivate all control when top level control deactivate, default false |
|
position |
string
|
<optional> |
a combination of top|left|bottom|right |
|
controls |
Array.<object>
|
<optional> |
a list of control to add to the bar |
- Tutorials: