text()
Sets the text displayed next to the toggle.
text(text: BindingOrValue<StringConvertible | undefined>): this;
Parameters
- text — The text to display, or a binding.
Return value
The builder instance for chaining.
Related
class ToggleBuilder static
A builder class for creating UIToggle instances.
