Skip to main content

content_in

Function content_in 

Source
pub fn content_in<E>(
    id: impl Into<ElementId>,
    theme: &Theme,
    element: E,
) -> AnimationElement<E>
where E: Styled + IntoElement + 'static,
Expand description

The arrival a block of content makes when it replaces what was there.

The rise belongs on a wrapper inside the element that publishes the node, so the published box is the settled one and only the pixels travel.