trait DropdownProps extends Object
- Annotations
- @JSType() @native()
- Alphabetic
- By Inheritance
- 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'). - abstract val onClick: UndefOr[RawOnClick]
Called on click.
- abstract val selectedLabel: UndefOr[|[JsNumber, String]]
Currently selected label in multi-select.
- abstract val selection: UndefOr[Boolean]
A dropdown can be used to select between choices in a form.
- 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'.
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.
- 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
. - def apply(key: String): Any
- Annotations
- @JSBracketAccess()
- val as: UndefOr[AsT]
An element type to render as (string or function).
- final def asInstanceOf[T0]: T0
- Definition Classes
- Any
- val basic: UndefOr[Boolean]
A Dropdown can reduce its complexity.
- val button: UndefOr[Boolean]
Format the Dropdown to appear as a button.
- val children: UndefOr[Node]
Primary content.
- val className: UndefOr[String]
Additional classes.
- val clearable: UndefOr[Boolean]
Using the clearable setting will let users remove their selection from a dropdown.
- 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.
- 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.
- val closeOnEscape: UndefOr[Boolean]
Whether or not the dropdown should close when the escape key is pressed.
- val compact: UndefOr[Boolean]
A compact dropdown has no minimum width.
- val deburr: UndefOr[Boolean]
Whether or not the dropdown should strip diacritics in options and input search
- val defaultOpen: UndefOr[Boolean]
Initial value of open.
- val defaultSearchQuery: UndefOr[String]
Initial value of searchQuery.
- val defaultSelectedLabel: UndefOr[|[JsNumber, String]]
Currently selected label in multi-select.
- val defaultUpward: UndefOr[Boolean]
Initial value of upward.
- val defaultValue: UndefOr[Value]
Initial value or value array if multiple.
- val direction: UndefOr[String]
A dropdown menu can open to the left or to the right.
- val disabled: UndefOr[Boolean]
A disabled dropdown menu or item does not allow user interaction.
- 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.
- 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.
- val fluid: UndefOr[Boolean]
A dropdown can take the full width of its parent
- 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.
- val icon: UndefOr[SemanticShorthandItemS[IconProps]]
Shorthand for Icon.
- val inline: UndefOr[Boolean]
A dropdown can be formatted to appear inline in other content.
- 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.
- val labeled: UndefOr[Boolean]
A dropdown can be labeled.
- val lazyLoad: UndefOr[Boolean]
A dropdown can defer rendering its options until it is open.
- val loading: UndefOr[Boolean]
A dropdown can show that it is currently loading data.
- val minCharacters: UndefOr[JsNumber]
The minimum characters for a search to begin showing results.
- val multiple: UndefOr[Boolean]
A selection dropdown can allow multiple selections.
- final def ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- val noResultsMessage: UndefOr[Node]
Message to display when there are no results.
- 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.
- val onBlur: UndefOr[RawOnBlur]
Called on blur.
- val onChange: UndefOr[RawOnChange]
Called when the user attempts to change the value.
- val onClose: UndefOr[RawOnClose]
Called when a close event happens.
- val onFocus: UndefOr[RawOnFocus]
Called on focus.
- val onLabelClick: UndefOr[RawOnLabelClick]
Called when a multi-select label is clicked.
- val onMouseDown: UndefOr[RawOnMouseDown]
Called on mousedown.
- val onOpen: UndefOr[RawOnOpen]
Called when an open event happens.
- val onSearchChange: UndefOr[RawOnSearchChange]
Called on search input change.
- val open: UndefOr[Boolean]
Controls whether or not the dropdown menu is displayed.
- val openOnFocus: UndefOr[Boolean]
Whether or not the menu should open when the dropdown is focused.
- val options: UndefOr[Array[DropdownItemProps]]
Array of Dropdown.Item props e.g.
Array of Dropdown.Item props e.g.
{ text: , value: }
- val placeholder: UndefOr[String]
Placeholder text.
- val pointing: UndefOr[|[Boolean, String]]
A dropdown can be formatted so that its menu is pointing.
- 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.
- val scrolling: UndefOr[Boolean]
A dropdown can have its menu scroll.
- 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.
- val searchInput: UndefOr[Node]
A shorthand for a search input.
- val searchQuery: UndefOr[String]
Current value of searchQuery.
Current value of searchQuery. Creates a controlled component.
- val selectOnBlur: UndefOr[Boolean]
Define whether the highlighted item should be selected on blur.
- 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.
- val simple: UndefOr[Boolean]
A simple dropdown can open without Javascript.
- final def synchronized[T0](arg0: => T0): T0
- Definition Classes
- AnyRef
- val tabIndex: UndefOr[|[String, JsNumber]]
A dropdown can receive focus.
- val text: UndefOr[String]
The text displayed in the dropdown, usually for the active item.
- def toLocaleString(): String
- Definition Classes
- Object
- def toString(): String
- Definition Classes
- AnyRef → Any
- def update(key: String, v: Any): Unit
- Annotations
- @JSBracketAccess()
- val upward: UndefOr[Boolean]
Controls whether the dropdown will open upward.
- val value: UndefOr[Value]
Current value or value array if multiple.
Current value or value array if multiple. Creates a controlled component.
- 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 )