kvision / pl.treksoft.kvision.dropdown / DropDown / dropDown

dropDown

fun Container.dropDown(text: String, elements: List<StringPair>? = null, icon: String? = null, style: BUTTONSTYLE = BUTTONSTYLE.DEFAULT, disabled: Boolean = false, classes: Set<String> = setOf(), init: DropDown.() -> Unit = null): Unit

DSL builder extension function

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