MdSelectOption

open class MdSelectOption(value: String? = null, disabled: Boolean = false, selected: Boolean = false, typeaheadText: String? = null, className: String? = null, init: MdSelectOption.() -> Unit? = null) : MdItemWidget, HasHeadlineSlot, HasLeadingSlot, HasSupportingTextSlot, HasTrailingSlot

Select options are element that belongs to a select.

Author

Maanrifa Bacar Ali

Constructors

Link copied to clipboard
constructor(value: String? = null, disabled: Boolean = false, selected: Boolean = false, typeaheadText: String? = null, className: String? = null, init: MdSelectOption.() -> Unit? = null)

Properties

Link copied to clipboard
var disabled: <Error class: unknown class>

Disables the item and makes it non-selectable and non-interactive.

Link copied to clipboard
open var parent: <Error class: unknown class>?
Link copied to clipboard
var selected: <Error class: unknown class>

Sets the item in the selected visual state when a submenu is opened.

Link copied to clipboard
val type: String?

Option type.

Link copied to clipboard
var typeaheadText: <Error class: unknown class>

Typeahead text of the item.

Link copied to clipboard
var value: <Error class: unknown class>

Form value of the option.

Functions

Link copied to clipboard
open override fun afterCreate(node: <Error class: unknown class>)
Link copied to clipboard
open fun buildAttributeSet(attributeSetBuilder: <Error class: unknown class>)
Link copied to clipboard
open fun dispose()
Link copied to clipboard
open override fun headline(component: <Error class: unknown class>?)
Link copied to clipboard
fun HasHeadlineSlot.headline(text: String): <Error class: unknown class>

Sets the text to the headline slot.

Link copied to clipboard
open override fun leading(component: <Error class: unknown class>?)
Link copied to clipboard

Sets the icon identified by name to the leading slot.

Link copied to clipboard
open fun render(): <Error class: unknown class>
Link copied to clipboard
open override fun supportingText(component: <Error class: unknown class>?)
Link copied to clipboard
fun HasSupportingTextSlot.supportingText(text: String): <Error class: unknown class>

Sets the text to the supporting text slot.

Link copied to clipboard
open override fun trailing(component: <Error class: unknown class>?)
Link copied to clipboard

Sets the icon identified by name to the trailing slot.