Skip to main content

cancel_custom_animation

Function cancel_custom_animation 

Source
pub fn cancel_custom_animation(animation_id: u32) -> Result<(), ()>
Expand description

Stop a custom animation queued with queue_custom_animation before its duration elapses. Its callback is not called again.

Returns Err if the animation is not running.