Skip to main content

navigation_scrim

Function navigation_scrim 

Source
pub fn navigation_scrim(
    id: impl Into<ElementId>,
    on_dismiss: impl Fn(&mut Window, &mut App) + 'static,
) -> impl IntoElement
Expand description

The scrim behind a modal expanded rail: scrim at 32%, fading in. Its click dismisses the rail.