Dropdown.Dropdown Type

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.

Constructors

Constructor Description

Dropdown()

Full Usage: Dropdown()

Returns: Dropdown
Returns: Dropdown

Static members

Static member Description

Dropdown.applyMembers (id, children, ?options, ?value, ?optionHeight, ?className, ?clearable, ?disabled, ?multi, ?placeholder, ?searchable, ?searchValue, ?style, ?loadingState, ?persistence, ?persistedProps, ?persistenceType)

Full Usage: Dropdown.applyMembers (id, children, ?options, ?value, ?optionHeight, ?className, ?clearable, ?disabled, ?multi, ?placeholder, ?searchable, ?searchValue, ?style, ?loadingState, ?persistence, ?persistedProps, ?persistenceType)

Parameters:
Returns: Dropdown -> Dropdown
id : 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

Dropdown.init (id, children, ?options, ?value, ?optionHeight, ?className, ?clearable, ?disabled, ?multi, ?placeholder, ?searchable, ?searchValue, ?style, ?loadingState, ?persistence, ?persistedProps, ?persistenceType)

Full Usage: Dropdown.init (id, children, ?options, ?value, ?optionHeight, ?className, ?clearable, ?disabled, ?multi, ?placeholder, ?searchable, ?searchValue, ?style, ?loadingState, ?persistence, ?persistedProps, ?persistenceType)

Parameters:
Returns: Dropdown
id : 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