Skip to main content

dropdown

Function dropdown 

Source
pub fn dropdown<'a>(
    id_salt: impl Hash + Debug,
    items: &'a [&'a str],
) -> Dropdown<'a>
Expand description

dropdown("density", &["Compact", "Comfortable"]).show(ui, &mut index).