NavigationViewItemProps
trait · ferroui-view · v0.5.0
trait NavigationViewItemProps: ElementBuilder
The properties and routed events of NavigationViewItem.
Members
iconinfo_badgeselects_on_invokedis_expandedhas_unrealized_childrenis_child_selectedmenu_items_source
icon
fn icon<M>(self: Self, value: impl IntoProp<Option<ferroui_base::Ref<ferroui_controls::IconElement>>, M>) -> Self
Sets NavigationViewItem::icon_property.
info_badge
fn info_badge<M>(self: Self, value: impl IntoProp<Option<ferroui_base::Ref<ferroui_controls::InfoBadge>>, M>) -> Self
Sets NavigationViewItem::info_badge_property.
selects_on_invoked
fn selects_on_invoked<M>(self: Self, value: impl IntoProp<bool, M>) -> Self
Sets NavigationViewItem::selects_on_invoked_property.
is_expanded
fn is_expanded<M>(self: Self, value: impl IntoProp<bool, M>) -> Self
Sets NavigationViewItem::is_expanded_property.
has_unrealized_children
fn has_unrealized_children<M>(self: Self, value: impl IntoProp<bool, M>) -> Self
Sets NavigationViewItem::has_unrealized_children_property.
is_child_selected
fn is_child_selected<M>(self: Self, value: impl IntoProp<bool, M>) -> Self
Sets NavigationViewItem::is_child_selected_property.
menu_items_source
fn menu_items_source<M>(self: Self, value: impl IntoProp<Option<ferroui_controls::ItemsSource>, M>) -> Self
Sets NavigationViewItem::menu_items_source_property.
Trait implementations
Availability
Extracted for aarch64-apple-darwin. Cargo features are listed in the crate index.