Skip to main content

use_backdrop

Function use_backdrop 

Source
pub fn use_backdrop<'hook>() -> impl 'hook + Hook<Output = Option<Backdropper>>
Expand description

Interact with the BackdropViewer through the Backdropper.

ยงNote

When used in function components and hooks, this hook is equivalent to:

/// Interact with the [`BackdropViewer`] through the [`Backdropper`].
pub fn use_backdrop() -> Option<Backdropper> {
    /* implementation omitted */
}