drop Down
fun Container.dropDown(text: String, elements: List<StringPair>? = null, icon: String? = null, style: ButtonStyle = ButtonStyle.PRIMARY, direction: Direction = Direction.DROPDOWN, disabled: Boolean = false, forNavbar: Boolean = false, forDropDown: Boolean = false, classes: Set<String>? = null, className: String? = null, init: DropDown.() -> Unit? = null): DropDown
Content copied to clipboard
DSL builder extension function.
It takes the same parameters as the constructor of the built component.
fun <S> Container.dropDown(state: ObservableState<S>, text: String, elements: List<StringPair>? = null, icon: String? = null, style: ButtonStyle = ButtonStyle.PRIMARY, direction: Direction = Direction.DROPDOWN, disabled: Boolean = false, forNavbar: Boolean = false, forDropDown: Boolean = false, classes: Set<String>? = null, className: String? = null, init: DropDown.(S) -> Unit): DropDown
Content copied to clipboard
DSL builder extension function for observable state.
It takes the same parameters as the constructor of the built component.