Skip to main content

nav_bar

Function nav_bar 

Source
pub fn nav_bar<Message: Clone + 'static>(
    model: &SingleSelectModel,
    on_activate: fn(Entity) -> Message,
) -> NavBar<'_, Message>
Expand description

Navigation side panel for switching between views.

For details on the model, see the segmented_button module for more details.