Toggle Button
The Toggle Button component provides methods and properties to interact with toggle buttons. It is derived from the base componenet.
setDisabled()
Sets the disabled status of the toggle button.
setDisabled(disabled: boolean): void;
getDisabled()
Gets the disabled status of the toggle button.
getDisabled(): boolean;
Properties
value
Indicates if the toggle button is on or off.
value: boolean;
hasUserInput
Indicates if the toggle button has been clicked by the user.
hasUserInput: boolean;