toggleSwitch
Add a ToggleSwitch to this container.
Return
the control added.
Create a ToggleSwitch with configuration block.
Return
the control created.
Parameters
configuration
the configuration block.
inline fun NodeContainer.toggleSwitch(text: String? = null, configuration: ToggleSwitch.() -> Unit): ToggleSwitch
Add a ToggleSwitch with configuration block to this container.
Return
the control added.
Parameters
configuration
the configuration block.