kvision / pl.treksoft.kvision.toolbar

Package pl.treksoft.kvision.toolbar

Toolbar and button group components.

Types

(js)

ButtonGroup

The Bootstrap button group.

open class ButtonGroup : SimplePanel
(js)

ButtonGroupSize

Button group sizes.

enum class ButtonGroupSize
(js)

Toolbar

The Bootstrap toolbar.

open class Toolbar : SimplePanel

Functions

(js)

buttonGroup

DSL builder extension function.

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

DSL builder extension function for toolbar.

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

toolbar

DSL builder extension function.

fun Container.toolbar(size: ButtonGroupSize? = null, spacing: Int = 2, vertical: Boolean = false, classes: Set<String> = setOf(), init: (Toolbar.() -> Unit)? = null): Toolbar