styledSegmentedBar

fun <T : SegmentedBar.Segment> styledSegmentedBar(vararg styleClass: String, id: String? = null): SegmentedBar<T>

Create a styled SegmentedBar.

Return

the styled control created.

Parameters

styleClass

the CSS style class.

id

the CSS id.


fun <T : SegmentedBar.Segment> NodeManager.styledSegmentedBar(vararg styleClass: String, id: String? = null): SegmentedBar<T>

Add a styled SegmentedBar to this manager.

Return

the styled control added.

Parameters

styleClass

the CSS style class.

id

the CSS id.


inline fun <T : SegmentedBar.Segment> styledSegmentedBar(vararg styleClass: String, id: String? = null, configuration: SegmentedBar<T>.() -> Unit): SegmentedBar<T>

Create a styled SegmentedBar with configuration block.

Return

the styled control created.

Parameters

styleClass

the CSS style class.

id

the CSS id.

configuration

the configuration block.


inline fun <T : SegmentedBar.Segment> NodeManager.styledSegmentedBar(vararg styleClass: String, id: String? = null, configuration: SegmentedBar<T>.() -> Unit): SegmentedBar<T>

Add a styled SegmentedBar with configuration block to this manager.

Return

the styled control added.

Parameters

styleClass

the CSS style class.

id

the CSS id.

configuration

the configuration block.