Packages

trait DropdownProps extends Object

Annotations
@JSType() @native()
Linear Supertypes
Object, Any, AnyRef, Any
Known Subclasses
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. DropdownProps
  2. Object
  3. Any
  4. AnyRef
  5. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. Protected

Abstract Value Members

  1. abstract val additionPosition: UndefOr[String]

    Position of the Add: ... option in the dropdown list ('top' or 'bottom').

  2. abstract val onClick: UndefOr[RawOnClick]

    Called on click.

  3. abstract val selectedLabel: UndefOr[|[JsNumber, String]]

    Currently selected label in multi-select.

  4. abstract val selection: UndefOr[Boolean]

    A dropdown can be used to select between choices in a form.

  5. 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

  1. final def !=(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  2. final def ##: Int
    Definition Classes
    AnyRef → Any
  3. final def ==(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  4. val additionLabel: UndefOr[|[|[JsNumber, String], SemanticShorthandContent]]

    Label prefixed to an option added by a user.

  5. 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 and search.

  6. def apply(key: String): Any
    Annotations
    @JSBracketAccess()
  7. val as: UndefOr[AsT]

    An element type to render as (string or function).

  8. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  9. val basic: UndefOr[Boolean]

    A Dropdown can reduce its complexity.

  10. val button: UndefOr[Boolean]

    Format the Dropdown to appear as a button.

  11. val children: UndefOr[Node]

    Primary content.

  12. val className: UndefOr[String]

    Additional classes.

  13. val clearable: UndefOr[Boolean]

    Using the clearable setting will let users remove their selection from a dropdown.

  14. def clone(): AnyRef
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.CloneNotSupportedException]) @native()
  15. val closeOnBlur: UndefOr[Boolean]

    Whether or not the menu should close when the dropdown is blurred.

  16. 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.

  17. val closeOnEscape: UndefOr[Boolean]

    Whether or not the dropdown should close when the escape key is pressed.

  18. val compact: UndefOr[Boolean]

    A compact dropdown has no minimum width.

  19. val deburr: UndefOr[Boolean]

    Whether or not the dropdown should strip diacritics in options and input search

  20. val defaultOpen: UndefOr[Boolean]

    Initial value of open.

  21. val defaultSearchQuery: UndefOr[String]

    Initial value of searchQuery.

  22. val defaultSelectedLabel: UndefOr[|[JsNumber, String]]

    Currently selected label in multi-select.

  23. val defaultUpward: UndefOr[Boolean]

    Initial value of upward.

  24. val defaultValue: UndefOr[Value]

    Initial value or value array if multiple.

  25. val direction: UndefOr[String]

    A dropdown menu can open to the left or to the right.

  26. val disabled: UndefOr[Boolean]

    A disabled dropdown menu or item does not allow user interaction.

  27. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  28. def equals(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef → Any
  29. val error: UndefOr[Boolean]

    An errored dropdown can alert a user to a problem.

  30. def finalize(): Unit
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.Throwable])
  31. val floating: UndefOr[Boolean]

    A dropdown menu can contain floated content.

  32. val fluid: UndefOr[Boolean]

    A dropdown can take the full width of its parent

  33. final def getClass(): Class[_ <: AnyRef]
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  34. def hasOwnProperty(v: String): Boolean
    Definition Classes
    Object
  35. def hashCode(): Int
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  36. val header: UndefOr[Node]

    A dropdown menu can contain a header.

  37. val icon: UndefOr[SemanticShorthandItemS[IconProps]]

    Shorthand for Icon.

  38. val inline: UndefOr[Boolean]

    A dropdown can be formatted to appear inline in other content.

  39. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  40. def isPrototypeOf(v: Object): Boolean
    Definition Classes
    Object
  41. val item: UndefOr[Boolean]

    A dropdown can be formatted as a Menu item.

  42. val labeled: UndefOr[Boolean]

    A dropdown can be labeled.

  43. val lazyLoad: UndefOr[Boolean]

    A dropdown can defer rendering its options until it is open.

  44. val loading: UndefOr[Boolean]

    A dropdown can show that it is currently loading data.

  45. val minCharacters: UndefOr[JsNumber]

    The minimum characters for a search to begin showing results.

  46. val multiple: UndefOr[Boolean]

    A selection dropdown can allow multiple selections.

  47. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  48. val noResultsMessage: UndefOr[Node]

    Message to display when there are no results.

  49. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  50. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  51. 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.

  52. val onBlur: UndefOr[RawOnBlur]

    Called on blur.

  53. val onChange: UndefOr[RawOnChange]

    Called when the user attempts to change the value.

  54. val onClose: UndefOr[RawOnClose]

    Called when a close event happens.

  55. val onFocus: UndefOr[RawOnFocus]

    Called on focus.

  56. val onLabelClick: UndefOr[RawOnLabelClick]

    Called when a multi-select label is clicked.

  57. val onMouseDown: UndefOr[RawOnMouseDown]

    Called on mousedown.

  58. val onOpen: UndefOr[RawOnOpen]

    Called when an open event happens.

  59. val onSearchChange: UndefOr[RawOnSearchChange]

    Called on search input change.

  60. val open: UndefOr[Boolean]

    Controls whether or not the dropdown menu is displayed.

  61. val openOnFocus: UndefOr[Boolean]

    Whether or not the menu should open when the dropdown is focused.

  62. val options: UndefOr[Array[DropdownItemProps]]

    Array of Dropdown.Item props e.g.

    Array of Dropdown.Item props e.g. { text: , value: }

  63. val placeholder: UndefOr[String]

    Placeholder text.

  64. val pointing: UndefOr[|[Boolean, String]]

    A dropdown can be formatted so that its menu is pointing.

  65. def propertyIsEnumerable(v: String): Boolean
    Definition Classes
    Object
  66. 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.

  67. val scrolling: UndefOr[Boolean]

    A dropdown can have its menu scroll.

  68. 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.

  69. val searchInput: UndefOr[Node]

    A shorthand for a search input.

  70. val searchQuery: UndefOr[String]

    Current value of searchQuery.

    Current value of searchQuery. Creates a controlled component.

  71. val selectOnBlur: UndefOr[Boolean]

    Define whether the highlighted item should be selected on blur.

  72. 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.

  73. val simple: UndefOr[Boolean]

    A simple dropdown can open without Javascript.

  74. final def synchronized[T0](arg0: => T0): T0
    Definition Classes
    AnyRef
  75. val tabIndex: UndefOr[|[String, JsNumber]]

    A dropdown can receive focus.

  76. val text: UndefOr[String]

    The text displayed in the dropdown, usually for the active item.

  77. def toLocaleString(): String
    Definition Classes
    Object
  78. def toString(): String
    Definition Classes
    AnyRef → Any
  79. def update(key: String, v: Any): Unit
    Annotations
    @JSBracketAccess()
  80. val upward: UndefOr[Boolean]

    Controls whether the dropdown will open upward.

  81. val value: UndefOr[Value]

    Current value or value array if multiple.

    Current value or value array if multiple. Creates a controlled component.

  82. def valueOf(): Any
    Definition Classes
    Object
  83. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  84. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  85. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException]) @native()
  86. 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 )

Inherited from Object

Inherited from Any

Inherited from AnyRef

Inherited from Any

Ungrouped