Toggle
A toggle is a switcher for a boolean value. The toggle supports the required field and a custom validation.
Methods
Method | Description |
---|---|
| sets data for the checkbox |
| enables or disables the component |
| resets the component to the initial value |
| triggers component's validation |
| resets the validation |
Triggers
Triggers allow you to launch certain actions based on different events.
On Init | Calls for an action on component initialization, e.g., page refresh |
On Change | Calls for an action on the component's state change |
Last updated