forms::dropdown
Structs
Dropdown
A dropdown list control, delegating to a platform-specific native dropdown implementation. Allows the selection of a single option from a list of options.
Properties
stroke
Outline stroke for the dropdown control.
options
Type: Property<Vec<String>>
List of selectable option labels.
selected_id
Type: Property<u32>
Index of the currently selected option.
style
Text style for option labels.
background
Dropdown background color.
corner_radius
Type: Property<f64>
Dropdown corner radius, in pixels.