ori::core::views

Function transition_focused

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

Animate a view when focused changes.