Function pop

Source
pub fn pop<'a, Message, Theme, Renderer>(
    content: impl Into<Element<'a, Message, Theme, Renderer>>,
) -> Pop<'a, Message, Theme, Renderer>
where Renderer: Renderer, Message: Clone,
Expand description

Creates a new Pop widget.

A Pop widget can generate messages when it pops in and out of view. It can even notify you with anticipation at a given distance!