Skip to main content

Module dropdown

Module dropdown 

Source
Expand description

A view that allows the user to select an item from a list of items.

The Dropdown struct provides several constructors, each offering different levels of customization and ease of use.

The DropdownCustomStyle struct allows for easy and advanced customization of the dropdown’s appearance.

Structs§

CloseOnAccept
A property that determines whether the dropdown should close automatically when an item is selected.
Dropdown
A customizable dropdown view for selecting an item from a list.
DropdownAccept
Event fired when an item is accepted/selected from the dropdown. Contains the selected value.
DropdownAcceptListener
Listener for DropdownAccept events
DropdownClass
A Style class that is applied to all dropdowns.
DropdownCustomStyle
A struct that allows for easy custom styling of the Dropdown using the Dropdown::dropdown_style method or the Style::custom_style method.
DropdownOpenChanged
Event fired when the dropdown open state changes
DropdownOpenChangedListener
Listener for DropdownOpenChanged events
DropdownPreviewClass
A Style class that is applied to all dropdown previews.