kvision / pl.treksoft.kvision.toolbar / buttonGroup

buttonGroup

(js) fun Container.buttonGroup(size: ButtonGroupSize? = null, vertical: Boolean = false, classes: Set<String>? = null, className: String? = null, init: (ButtonGroup.() -> Unit)? = null): ButtonGroup

DSL builder extension function.

It takes the same parameters as the constructor of the built component.

(js) fun Toolbar.buttonGroup(classes: Set<String>? = null, className: String? = null, init: (ButtonGroup.() -> Unit)? = null): ButtonGroup

DSL builder extension function for toolbar.

It creates button groups with size and vertical parameters of the toolbar.