value()
Sets the toggle state.
value(value: BindingOrValue<any>): this;
Parameters
- value — The state (on/off) or a binding; converted to boolean.
Return value
The builder instance for chaining.
Related
class ToggleBuilder static
A builder class for creating UIToggle instances.
