Skip to main content

transition

Function transition 

Source
pub fn transition(
    node_id: u32,
    animation_id: u32,
    property: AnimatedProperty,
    to: KeyframeValue,
    spec: AnimationSpec,
) -> Animation<'static>
Expand description

A transition to to: from whatever the node shows the frame it starts, to to, once, along spec, in slot 0, with no events. What a CSS transition and an animate_*_as_state both are.