The Toggle component
Users can select a two state value with this component.
In addition to the properties listed below, this component inherits properties and methods from the superclass Component
. For example, any Radio component has a label
and hidden
property even though these are not explicitly listed here.
Properties
Name | Description | Datatype | Default |
---|---|---|---|
leftLabel | The label on the left of the toggle button. | String | "off" |
rightLabel | The label on the right of the toggle button. | String | "on" |
tableView | When true and the component is part of an EditGrid, the component's value is shown (simplified) in the collapsed row of the EditGrid. | Boolean | False |