SelectOption

fun SelectOption(value: String? = null, label: String? = null, subtext: String? = null, icon: String? = null, divider: Boolean = false, disabled: Boolean = false, selected: Boolean = false, classes: Set<String> = setOf(), init: SelectOption.() -> Unit? = null)

Parameters

value

the value of the option

label

the label of the option

subtext

the small subtext after the label of the option

icon

the icon before the label of the option

divider

renders this option as a divider

disabled

renders a disabled option

classes

a set of CSS class names

init

an initializer extension function