type()
Sets the visual presentation type of the toggle.
type(type: "none" | "checkbox" | "switch"): this;
Parameters
- type — The type (
checkbox,switch, ornone).
Return value
The builder instance for chaining.
Related
class ToggleBuilder static
A builder class for creating UIToggle instances.
