trait SelectProps extends Object with DropdownProps
- Annotations
- @JSType() @native()
- Alphabetic
- By Inheritance
- SelectProps
- DropdownProps
- Object
- Any
- AnyRef
- Any
- Hide All
- Show All
- Public
- Protected
Abstract Value Members
- abstract val additionPosition: UndefOr[String]
Position of the
Add: ...
option in the dropdown list ('top' or 'bottom').Position of the
Add: ...
option in the dropdown list ('top' or 'bottom').- Definition Classes
- DropdownProps
- abstract val onClick: UndefOr[RawOnClick]
Called on click.
Called on click.
- Definition Classes
- DropdownProps
- abstract val selectedLabel: UndefOr[|[JsNumber, String]]
Currently selected label in multi-select.
Currently selected label in multi-select.
- Definition Classes
- DropdownProps
- abstract val selection: UndefOr[Boolean]
A dropdown can be used to select between choices in a form.
A dropdown can be used to select between choices in a form.
- Definition Classes
- DropdownProps
- abstract val trigger: UndefOr[Node]
Custom element to trigger the menu to become visible.
Custom element to trigger the menu to become visible. Takes place of 'text'.
- Definition Classes
- DropdownProps
Concrete Value Members
- final def !=(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- final def ##: Int
- Definition Classes
- AnyRef → Any
- final def ==(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- val additionLabel: UndefOr[|[|[JsNumber, String], SemanticShorthandContent]]
Label prefixed to an option added by a user.
Label prefixed to an option added by a user.
- Definition Classes
- DropdownProps
- val allowAdditions: UndefOr[Boolean]
Allow user additions to the list of options (boolean).
Allow user additions to the list of options (boolean). Requires the use of
selection
,options
andsearch
.- Definition Classes
- DropdownProps
- def apply(key: String): Any
- Definition Classes
- DropdownProps
- Annotations
- @JSBracketAccess()
- val as: UndefOr[AsT]
An element type to render as (string or function).
An element type to render as (string or function).
- Definition Classes
- DropdownProps
- final def asInstanceOf[T0]: T0
- Definition Classes
- Any
- val basic: UndefOr[Boolean]
A Dropdown can reduce its complexity.
A Dropdown can reduce its complexity.
- Definition Classes
- DropdownProps
- val button: UndefOr[Boolean]
Format the Dropdown to appear as a button.
Format the Dropdown to appear as a button.
- Definition Classes
- DropdownProps
- val children: UndefOr[Node]
Primary content.
Primary content.
- Definition Classes
- DropdownProps
- val className: UndefOr[String]
Additional classes.
Additional classes.
- Definition Classes
- DropdownProps
- val clearable: UndefOr[Boolean]
Using the clearable setting will let users remove their selection from a dropdown.
Using the clearable setting will let users remove their selection from a dropdown.
- Definition Classes
- DropdownProps
- def clone(): AnyRef
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.CloneNotSupportedException]) @native()
- val closeOnBlur: UndefOr[Boolean]
Whether or not the menu should close when the dropdown is blurred.
Whether or not the menu should close when the dropdown is blurred.
- Definition Classes
- DropdownProps
- val closeOnChange: UndefOr[Boolean]
Whether or not the menu should close when a value is selected from the dropdown.
Whether or not the menu should close when a value is selected from the dropdown. By default, multiple selection dropdowns will remain open on change, while single selection dropdowns will close on change.
- Definition Classes
- DropdownProps
- val closeOnEscape: UndefOr[Boolean]
Whether or not the dropdown should close when the escape key is pressed.
Whether or not the dropdown should close when the escape key is pressed.
- Definition Classes
- DropdownProps
- val compact: UndefOr[Boolean]
A compact dropdown has no minimum width.
A compact dropdown has no minimum width.
- Definition Classes
- DropdownProps
- val deburr: UndefOr[Boolean]
Whether or not the dropdown should strip diacritics in options and input search
Whether or not the dropdown should strip diacritics in options and input search
- Definition Classes
- DropdownProps
- val defaultOpen: UndefOr[Boolean]
Initial value of open.
Initial value of open.
- Definition Classes
- DropdownProps
- val defaultSearchQuery: UndefOr[String]
Initial value of searchQuery.
Initial value of searchQuery.
- Definition Classes
- DropdownProps
- val defaultSelectedLabel: UndefOr[|[JsNumber, String]]
Currently selected label in multi-select.
Currently selected label in multi-select.
- Definition Classes
- DropdownProps
- val defaultUpward: UndefOr[Boolean]
Initial value of upward.
Initial value of upward.
- Definition Classes
- DropdownProps
- val defaultValue: UndefOr[Value]
Initial value or value array if multiple.
Initial value or value array if multiple.
- Definition Classes
- DropdownProps
- val direction: UndefOr[String]
A dropdown menu can open to the left or to the right.
A dropdown menu can open to the left or to the right.
- Definition Classes
- DropdownProps
- val disabled: UndefOr[Boolean]
A disabled dropdown menu or item does not allow user interaction.
A disabled dropdown menu or item does not allow user interaction.
- Definition Classes
- DropdownProps
- final def eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- def equals(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef → Any
- val error: UndefOr[Boolean]
An errored dropdown can alert a user to a problem.
An errored dropdown can alert a user to a problem.
- Definition Classes
- DropdownProps
- def finalize(): Unit
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.Throwable])
- val floating: UndefOr[Boolean]
A dropdown menu can contain floated content.
A dropdown menu can contain floated content.
- Definition Classes
- DropdownProps
- val fluid: UndefOr[Boolean]
A dropdown can take the full width of its parent
A dropdown can take the full width of its parent
- Definition Classes
- DropdownProps
- final def getClass(): Class[_ <: AnyRef]
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
- def hasOwnProperty(v: String): Boolean
- Definition Classes
- Object
- def hashCode(): Int
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
- val header: UndefOr[Node]
A dropdown menu can contain a header.
A dropdown menu can contain a header.
- Definition Classes
- DropdownProps
- val icon: UndefOr[SemanticShorthandItemS[IconProps]]
Shorthand for Icon.
Shorthand for Icon.
- Definition Classes
- DropdownProps
- val inline: UndefOr[Boolean]
A dropdown can be formatted to appear inline in other content.
A dropdown can be formatted to appear inline in other content.
- Definition Classes
- DropdownProps
- final def isInstanceOf[T0]: Boolean
- Definition Classes
- Any
- def isPrototypeOf(v: Object): Boolean
- Definition Classes
- Object
- val item: UndefOr[Boolean]
A dropdown can be formatted as a Menu item.
A dropdown can be formatted as a Menu item.
- Definition Classes
- DropdownProps
- val labeled: UndefOr[Boolean]
A dropdown can be labeled.
A dropdown can be labeled.
- Definition Classes
- DropdownProps
- val lazyLoad: UndefOr[Boolean]
A dropdown can defer rendering its options until it is open.
A dropdown can defer rendering its options until it is open.
- Definition Classes
- DropdownProps
- val loading: UndefOr[Boolean]
A dropdown can show that it is currently loading data.
A dropdown can show that it is currently loading data.
- Definition Classes
- DropdownProps
- val minCharacters: UndefOr[JsNumber]
The minimum characters for a search to begin showing results.
The minimum characters for a search to begin showing results.
- Definition Classes
- DropdownProps
- val multiple: UndefOr[Boolean]
A selection dropdown can allow multiple selections.
A selection dropdown can allow multiple selections.
- Definition Classes
- DropdownProps
- final def ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- val noResultsMessage: UndefOr[Node]
Message to display when there are no results.
Message to display when there are no results.
- Definition Classes
- DropdownProps
- final def notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
- final def notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
- val onAddItem: UndefOr[RawOnAddItem]
Called when a user adds a new item.
Called when a user adds a new item. Use this to update the options list.
- Definition Classes
- DropdownProps
- val onBlur: UndefOr[RawOnBlur]
Called on blur.
Called on blur.
- Definition Classes
- DropdownProps
- val onChange: UndefOr[RawOnChange]
Called when the user attempts to change the value.
Called when the user attempts to change the value.
- Definition Classes
- DropdownProps
- val onClose: UndefOr[RawOnClose]
Called when a close event happens.
Called when a close event happens.
- Definition Classes
- DropdownProps
- val onFocus: UndefOr[RawOnFocus]
Called on focus.
Called on focus.
- Definition Classes
- DropdownProps
- val onLabelClick: UndefOr[RawOnLabelClick]
Called when a multi-select label is clicked.
Called when a multi-select label is clicked.
- Definition Classes
- DropdownProps
- val onMouseDown: UndefOr[RawOnMouseDown]
Called on mousedown.
Called on mousedown.
- Definition Classes
- DropdownProps
- val onOpen: UndefOr[RawOnOpen]
Called when an open event happens.
Called when an open event happens.
- Definition Classes
- DropdownProps
- val onSearchChange: UndefOr[RawOnSearchChange]
Called on search input change.
Called on search input change.
- Definition Classes
- DropdownProps
- val open: UndefOr[Boolean]
Controls whether or not the dropdown menu is displayed.
Controls whether or not the dropdown menu is displayed.
- Definition Classes
- DropdownProps
- val openOnFocus: UndefOr[Boolean]
Whether or not the menu should open when the dropdown is focused.
Whether or not the menu should open when the dropdown is focused.
- Definition Classes
- DropdownProps
- val options: UndefOr[Array[DropdownItemProps]]
Array of Dropdown.Item props e.g.
Array of Dropdown.Item props e.g.
{ text: , value: }
- Definition Classes
- DropdownProps
- val placeholder: UndefOr[String]
Placeholder text.
Placeholder text.
- Definition Classes
- DropdownProps
- val pointing: UndefOr[|[Boolean, String]]
A dropdown can be formatted so that its menu is pointing.
A dropdown can be formatted so that its menu is pointing.
- Definition Classes
- DropdownProps
- def propertyIsEnumerable(v: String): Boolean
- Definition Classes
- Object
- val renderLabel: UndefOr[RawRenderLabel]
Mapped over the active items and returns shorthand for the active item Labels.
Mapped over the active items and returns shorthand for the active item Labels. Only applies to
multiple
Dropdowns.- returns
{*} Shorthand for a Label.
- Definition Classes
- DropdownProps
- val scrolling: UndefOr[Boolean]
A dropdown can have its menu scroll.
A dropdown can have its menu scroll.
- Definition Classes
- DropdownProps
- val search: UndefOr[|[Boolean, RawSearchFunction]]
A selection dropdown can allow a user to search through a large list of choices.
A selection dropdown can allow a user to search through a large list of choices. Pass a function here to replace the default search.
- Definition Classes
- DropdownProps
- val searchInput: UndefOr[Node]
A shorthand for a search input.
A shorthand for a search input.
- Definition Classes
- DropdownProps
- val searchQuery: UndefOr[String]
Current value of searchQuery.
Current value of searchQuery. Creates a controlled component.
- Definition Classes
- DropdownProps
- val selectOnBlur: UndefOr[Boolean]
Define whether the highlighted item should be selected on blur.
Define whether the highlighted item should be selected on blur.
- Definition Classes
- DropdownProps
- val selectOnNavigation: UndefOr[Boolean]
Whether dropdown should select new option when using keyboard shortcuts.
Whether dropdown should select new option when using keyboard shortcuts. Setting to false will require enter or left click to confirm a choice.
- Definition Classes
- DropdownProps
- val simple: UndefOr[Boolean]
A simple dropdown can open without Javascript.
A simple dropdown can open without Javascript.
- Definition Classes
- DropdownProps
- final def synchronized[T0](arg0: => T0): T0
- Definition Classes
- AnyRef
- val tabIndex: UndefOr[|[String, JsNumber]]
A dropdown can receive focus.
A dropdown can receive focus.
- Definition Classes
- DropdownProps
- val text: UndefOr[String]
The text displayed in the dropdown, usually for the active item.
The text displayed in the dropdown, usually for the active item.
- Definition Classes
- DropdownProps
- def toLocaleString(): String
- Definition Classes
- Object
- def toString(): String
- Definition Classes
- AnyRef → Any
- def update(key: String, v: Any): Unit
- Definition Classes
- DropdownProps
- Annotations
- @JSBracketAccess()
- val upward: UndefOr[Boolean]
Controls whether the dropdown will open upward.
Controls whether the dropdown will open upward.
- Definition Classes
- DropdownProps
- val value: UndefOr[Value]
Current value or value array if multiple.
Current value or value array if multiple. Creates a controlled component.
- Definition Classes
- DropdownProps
- def valueOf(): Any
- Definition Classes
- Object
- final def wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
- final def wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
- final def wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException]) @native()
- val wrapSelection: UndefOr[Boolean]
A dropdown will go to the last element when ArrowUp is pressed on the first, or go to the first when ArrowDown is pressed on the last( aka infinite selection )
A dropdown will go to the last element when ArrowUp is pressed on the first, or go to the first when ArrowDown is pressed on the last( aka infinite selection )
- Definition Classes
- DropdownProps