Class Switch

java.lang.Object
org.patternfly.component.BaseComponentFlat<elemental2.dom.HTMLLabelElement,Switch>
org.patternfly.component.switch_.Switch
All Implemented Interfaces:
Attachable, Finder<elemental2.dom.HTMLLabelElement>, HasElement<elemental2.dom.HTMLLabelElement,Switch>, HasHTMLElement<elemental2.dom.HTMLLabelElement,Switch>, IsElement<elemental2.dom.HTMLLabelElement>, TypedBuilder<elemental2.dom.HTMLLabelElement,Switch>, Component, HasValue<Boolean>, Modifiers.Disabled<elemental2.dom.HTMLLabelElement,Switch>, Modifiers.Readonly<elemental2.dom.HTMLLabelElement,Switch>

public class Switch extends BaseComponentFlat<elemental2.dom.HTMLLabelElement,Switch> implements HasValue<Boolean>, Modifiers.Disabled<elemental2.dom.HTMLLabelElement,Switch>, Modifiers.Readonly<elemental2.dom.HTMLLabelElement,Switch>, Attachable
A switch toggles the state of a setting (between on and off). Switches and checkboxes can often be used interchangeably, but the switch provides a more explicit, visible representation of a setting.
See Also: