Constructor
new blueprintjs.MinimalSwitch(container, checked, label, labelPosition, labelChecked, labelUnchecked)
Parameters:
Name | Type | Description |
---|---|---|
container |
Element | the parent element. |
checked |
boolean | true iif the control should initially be checked, false otherwise (optional). |
label |
string | the switch label (optional). |
labelPosition |
string | the switch label position (in {left, right}) in respect to the element (optional). |
labelChecked |
string | the text to display inside the switch indicator when checked (optional). |
labelUnchecked |
string | the text to display inside the switch indicator when unchecked (optional). |
- Source:
Extends
- blueprintjs.Blueprintjs