MdOutlinedSelect

open class MdOutlinedSelect(label: String? = null, quick: Boolean = false, disabled: Boolean = false, required: Boolean = false, errorText: String? = null, supportingText: String? = null, error: Boolean = false, menuPositioning: SelectMenuPositioning = SelectMenuPositioning.Popover, typeaheadDelay: Int = DEFAULT_TYPEAHEAD_DELAY, selectedIndex: Int = -1, name: String? = null, value: String? = null, validationMessage: String? = null, className: String? = null, init: MdOutlinedSelect.() -> Unit? = null) : MdSelect(source)

Outlined select type.

Author

Maanrifa Bacar Ali

Constructors

Link copied to clipboard
constructor(label: String? = null, quick: Boolean = false, disabled: Boolean = false, required: Boolean = false, errorText: String? = null, supportingText: String? = null, error: Boolean = false, menuPositioning: SelectMenuPositioning = SelectMenuPositioning.Popover, typeaheadDelay: Int = DEFAULT_TYPEAHEAD_DELAY, selectedIndex: Int = -1, name: String? = null, value: String? = null, validationMessage: String? = null, className: String? = null, init: MdOutlinedSelect.() -> Unit? = null)

Properties

Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
open var border: Border?
Link copied to clipboard
open var borderBottom: Border?
Link copied to clipboard
open var borderLeft: Border?
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
open var borderRight: Border?
Link copied to clipboard
open var borderTop: Border?
Link copied to clipboard
open var bottom: CssSize?
Link copied to clipboard
open var boxShadow: BoxShadow?
Link copied to clipboard
Link copied to clipboard
open var clear: Clear?
Link copied to clipboard
open var color: Color?
Link copied to clipboard
open var colorHex: Int?
Link copied to clipboard
open var colorName: Col?
Link copied to clipboard
open var cursor: Cursor?
Link copied to clipboard

Whether or not the widget is disabled.

Link copied to clipboard
open var display: Display?
Link copied to clipboard
Link copied to clipboard

Gets or sets whether or not the select is in a visually invalid state. This error state overrides the error state controlled by reportValidity.

Link copied to clipboard

The error message that replaces supporting text when error is true. If errorText is an empty string, then the supportingText will continue to show. This error message overrides the error message displayed by reportValidity.

Link copied to clipboard
Link copied to clipboard
open var flexBasis: CssSize?
Link copied to clipboard
Link copied to clipboard
open var flexGrow: Int?
Link copied to clipboard
open var flexShrink: Int?
Link copied to clipboard
open var flexWrap: FlexWrap?
Link copied to clipboard
open var float: PosFloat?
Link copied to clipboard
open var fontFamily: String?
Link copied to clipboard
open var fontSize: CssSize?
Link copied to clipboard
open var fontStyle: FontStyle?
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard

The associated form element with which this element's value will submit.

Link copied to clipboard
open var gridArea: String?
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
open var gridAutoRows: String?
Link copied to clipboard
Link copied to clipboard
open var gridColumnGap: Int?
Link copied to clipboard
open var gridColumnStart: Int?
Link copied to clipboard
open var gridRowEnd: String?
Link copied to clipboard
open var gridRowGap: Int?
Link copied to clipboard
open var gridRowStart: Int?
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
open var height: CssSize?
Link copied to clipboard
var id: String?
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
var kvscope: dynamic
Link copied to clipboard

The floating label for the field.

Link copied to clipboard

The labels this element is associated with.

Link copied to clipboard
open var left: CssSize?
Link copied to clipboard
Link copied to clipboard
open var lineBreak: LineBreak?
Link copied to clipboard
open var lineHeight: CssSize?
Link copied to clipboard
open var listStyle: ListStyle?
Link copied to clipboard
open var margin: CssSize?
Link copied to clipboard
Link copied to clipboard
open var marginLeft: CssSize?
Link copied to clipboard
open var marginRight: CssSize?
Link copied to clipboard
open var marginTop: CssSize?
Link copied to clipboard
open var maxHeight: CssSize?
Link copied to clipboard
open var maxWidth: CssSize?
Link copied to clipboard

Whether or not the underlying md-menu should be position: fixed to display in a top-level manner, or position: absolute.

Link copied to clipboard
open var minHeight: CssSize?
Link copied to clipboard
open var minWidth: CssSize?
Link copied to clipboard
var name: String?

The name to use in form submission.

Link copied to clipboard
open var opacity: Double?
Link copied to clipboard

List of available options.

Link copied to clipboard
open var order: Int?
Link copied to clipboard
open var outline: Outline?
Link copied to clipboard
open var overflow: Overflow?
Link copied to clipboard
Link copied to clipboard
open var overflowX: Overflow?
Link copied to clipboard
open var overflowY: Overflow?
Link copied to clipboard
open var padding: CssSize?
Link copied to clipboard
Link copied to clipboard
open var paddingLeft: CssSize?
Link copied to clipboard
Link copied to clipboard
open var paddingTop: CssSize?
Link copied to clipboard
open override var parent: Container?
Link copied to clipboard
Link copied to clipboard
var popoverOptions: dynamic
Link copied to clipboard
open var position: Position?
Link copied to clipboard

Opens the menu synchronously with no animation.

Link copied to clipboard

Indicates that the component must provides a valid value when participating in form submission.

Link copied to clipboard
open var resize: Resize?
Link copied to clipboard
open var right: CssSize?
Link copied to clipboard
var role: String?
Link copied to clipboard

Index of the selected option.

Link copied to clipboard

List of selected options.

Link copied to clipboard

Conveys additional information below the select, such as how it should be used.

Link copied to clipboard
Link copied to clipboard
open var textAlign: TextAlign?
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
open var textIndent: CssSize?
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
var tooltipOptions: dynamic
Link copied to clipboard
open var top: CssSize?
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard

The max time between the keystrokes of the typeahead select / menu behavior before it clears the typeahead buffer.

Link copied to clipboard
Link copied to clipboard

Message to display when the component value is not valid.

Link copied to clipboard

Gets the element's current validity state.

Link copied to clipboard

The value that is submitted to the form.

Link copied to clipboard
Link copied to clipboard
open override var visible: Boolean
Link copied to clipboard
Link copied to clipboard
open var width: CssSize?
Link copied to clipboard

Indicates that the element is a candidate for constraint validation.

Link copied to clipboard
open var wordBreak: WordBreak?
Link copied to clipboard
open var wordSpacing: CssSize?
Link copied to clipboard
open var zIndex: Int?

Functions

Link copied to clipboard
open override fun add(item: MdSelectOption)

Adds given item to the current widget.

open override fun add(position: Int, item: MdSelectOption)

Adds given item to the current widget at the given position.

Link copied to clipboard
open override fun addAfterCreateHook(hook: (VNode) -> Unit): Boolean
Link copied to clipboard
open override fun addAfterDestroyHook(hook: () -> Unit): Boolean
Link copied to clipboard
open override fun addAfterInsertHook(hook: (VNode) -> Unit): Boolean
Link copied to clipboard
open override fun addAll(items: List<MdSelectOption>)

Adds a list of items to the current widget.

Link copied to clipboard
open override fun addBeforeDisposeHook(hook: () -> Unit): Boolean
Link copied to clipboard
open override fun addCssClass(css: String)
Link copied to clipboard
open override fun addCssStyle(css: Style)
Link copied to clipboard
open override fun addSurroundingCssClass(css: String)
Link copied to clipboard
open override fun addSurroundingCssStyle(css: Style)
Link copied to clipboard
open fun blur()
Link copied to clipboard

Indicates the validity of the value of the element. If the value is invalid, this method also fires the invalid event on the element.

Link copied to clipboard
open override fun clearAfterCreateHooks()
Link copied to clipboard
open override fun clearAfterDestroyHooks()
Link copied to clipboard
open override fun clearAfterInsertHooks()
Link copied to clipboard
open override fun clearBeforeDisposeHooks()
Link copied to clipboard
Link copied to clipboard
open override fun clearParent()
Link copied to clipboard
open fun dispatchEvent(type: String, eventInitDict: CustomEventInit): Boolean?
Link copied to clipboard
open override fun dispose()
Link copied to clipboard
open override fun disposeAll()

Removes all items from the current widget and disposes them.

Link copied to clipboard
open fun focus()
Link copied to clipboard
open override fun getAttribute(name: String): String?
Link copied to clipboard
open override fun getElement(): HTMLElement?
Link copied to clipboard
open override fun getElementD(): dynamic
Link copied to clipboard
open override fun getRoot(): Root?
Link copied to clipboard
open fun getSnStyle(): dynamic
Link copied to clipboard
fun getStyle(name: String): String?
Link copied to clipboard
open override fun hasCssClass(css: String): Boolean
Link copied to clipboard
open fun hide()
Link copied to clipboard
open override fun refresh()
Link copied to clipboard
open override fun remove(item: MdSelectOption)

Removes given item from the current widget.

Link copied to clipboard
open override fun removeAfterCreateHook(hook: (VNode) -> Unit): Boolean
Link copied to clipboard
open override fun removeAfterDestroyHook(hook: () -> Unit): Boolean
Link copied to clipboard
open override fun removeAfterInsertHook(hook: (VNode) -> Unit): Boolean
Link copied to clipboard
open override fun removeAll()

Removes all items from the current widget.

Link copied to clipboard
open override fun removeAt(position: Int)

Removes the item from the current widget at the given position.

Link copied to clipboard
open override fun removeAttribute(name: String)
Link copied to clipboard
open override fun removeBeforeDisposeHook(hook: () -> Unit): Boolean
Link copied to clipboard
open override fun removeCssClass(css: String)
Link copied to clipboard
open override fun removeCssStyle(css: Style)
Link copied to clipboard
open fun removeEventListener(id: Int)
Link copied to clipboard
Link copied to clipboard
fun removeStyle(name: String)
Link copied to clipboard
open override fun removeSurroundingCssClass(css: String)
Link copied to clipboard
open override fun removeSurroundingCssStyle(css: Style)
Link copied to clipboard
open override fun renderVNode(): VNode
Link copied to clipboard

Performs the same validity checking steps as the checkValidity method. If the value is invalid, this method also fires the invalid event on the element, and (if the event isn't canceled) reports the problem to the user.

Link copied to clipboard
fun reset()

Reset the select to its default value.

Link copied to clipboard
fun select(index: Int)

Selects an option given the index of the option.

fun select(value: String)

Selects an option given the value of the option.

Link copied to clipboard
fun MdSelect.selectOption(value: String? = null, disabled: Boolean = false, selected: Boolean = false, typeaheadText: String? = null, className: String? = null, init: MdSelectOption.() -> Unit? = null): MdSelectOption
Link copied to clipboard
open override fun setAttribute(name: String, value: String)
Link copied to clipboard

Sets a custom validity message for the underlying element.

Link copied to clipboard
open fun setDragDropData(format: String, data: String)
Link copied to clipboard
open fun setDropTarget(format: String, callback: (DragEvent) -> Unit)
open fun setDropTarget(formats: Set<String>?, callback: (DragEvent) -> Unit)
Link copied to clipboard
open fun setDropTargetData(format: String, callback: (String?) -> Unit)
Link copied to clipboard
open fun <T : Widget> setEventListener(block: SnOn<T>.() -> Unit): Int
Link copied to clipboard
fun setStyle(name: String, value: String)
Link copied to clipboard
open fun show()
Link copied to clipboard
open override fun <T> singleRender(block: () -> T): T
Link copied to clipboard
open override fun singleRenderAsync(block: () -> Unit)
Link copied to clipboard
open fun toggleVisible()
Link copied to clipboard
open fun translate(text: String): String
open fun translate(text: String?): String?
Link copied to clipboard