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

NameDescriptionDatatypeDefault
leftLabelThe label on the left of the toggle button.String"off"
rightLabelThe label on the right of the toggle button.String"on"
tableViewWhen true and the component is part of an EditGrid, the component's value is shown (simplified) in the collapsed row of the EditGrid.BooleanFalse