styledToggleSwitch
inline fun styledToggleSwitch(text: String? = null, vararg styleClass: String, id: String? = null): ToggleSwitch
Create a styled ToggleSwitch.
Return
the styled control created.
Parameters
styleClass
the CSS style class.
id
the CSS id.
inline fun NodeContainer.styledToggleSwitch(text: String? = null, vararg styleClass: String, id: String? = null): ToggleSwitch
Add a styled ToggleSwitch to this container.
Return
the styled control added.
Parameters
styleClass
the CSS style class.
id
the CSS id.
inline fun styledToggleSwitch(text: String? = null, vararg styleClass: String, id: String? = null, configuration: ToggleSwitch.() -> Unit): ToggleSwitch
Create a styled ToggleSwitch with configuration block.
Return
the styled control created.
Parameters
styleClass
the CSS style class.
id
the CSS id.
configuration
the configuration block.
inline fun NodeContainer.styledToggleSwitch(text: String? = null, vararg styleClass: String, id: String? = null, configuration: ToggleSwitch.() -> Unit): ToggleSwitch
Add a styled ToggleSwitch with configuration block to this container.
Return
the styled control added.
Parameters
styleClass
the CSS style class.
id
the CSS id.
configuration
the configuration block.