Documentation

type()

Sets the visual presentation type of the toggle.

type(type: "none" | "checkbox" | "switch"): this;

Parameters

Return value

The builder instance for chaining.

Related