ori::prelude

Function transition_active

Source
pub fn transition_active<T, V>(
    transition: Transition,
    view: impl FnMut(&mut EventCx<'_, '_>, &mut T, f32) -> V + 'static,
) -> Animate<T, V, f32>
Expand description

Animate a view when active changes.