Dropdown is an interactive dropdown element for selecting one or more items. The values and labels of the dropdown items are specified in the `options` property and the selected item(s) are specified with the `value` property. Use a dropdown when you have many options (more than 5) or when you are constrained for space. Otherwise, you can use RadioItems or a Checklist, which have the benefit of showing the users all of the items at once.
Constructor | Description |
|
|
Static member | Description |
Full Usage:
Dropdown.applyMembers (id, children, ?options, ?value, ?optionHeight, ?className, ?clearable, ?disabled, ?multi, ?placeholder, ?searchable, ?searchValue, ?style, ?loadingState, ?persistence, ?persistedProps, ?persistenceType)
Parameters:
string
children : seq<DashComponent>
?options : seq<DropdownOption>
?value : DropdownValue
?optionHeight : float
?className : string
?clearable : bool
?disabled : bool
?multi : bool
?placeholder : string
?searchable : bool
?searchValue : string
?style : DashComponentStyle
?loadingState : LoadingState
?persistence : IConvertible
?persistedProps : string[]
?persistenceType : PersistenceTypeOptions
Returns: Dropdown -> Dropdown
|
|
Full Usage:
Dropdown.init (id, children, ?options, ?value, ?optionHeight, ?className, ?clearable, ?disabled, ?multi, ?placeholder, ?searchable, ?searchValue, ?style, ?loadingState, ?persistence, ?persistedProps, ?persistenceType)
Parameters:
string
children : seq<DashComponent>
?options : seq<DropdownOption>
?value : DropdownValue
?optionHeight : float
?className : string
?clearable : bool
?disabled : bool
?multi : bool
?placeholder : string
?searchable : bool
?searchValue : string
?style : DashComponentStyle
?loadingState : LoadingState
?persistence : IConvertible
?persistedProps : string[]
?persistenceType : PersistenceTypeOptions
Returns: Dropdown
|
|