toggleSwitch

fun NodeManager.toggleSwitch(text: String? = null): ToggleSwitch

Add a ToggleSwitch to this manager.

Return

the control added.


inline fun toggleSwitch(text: String? = null, configuration: ToggleSwitch.() -> Unit): ToggleSwitch

Create a ToggleSwitch with configuration block.

Return

the control created.

Parameters

configuration

the configuration block.


inline fun NodeManager.toggleSwitch(text: String? = null, configuration: ToggleSwitch.() -> Unit): ToggleSwitch

Add a ToggleSwitch with configuration block to this manager.

Return

the control added.

Parameters

configuration

the configuration block.