pub fn request_animation_frame<F>(callback_once: F) -> AnimationFrame
Expand description
Calls browser’s requestAnimationFrame
. It is cancelled when the handler is dropped.
pub fn request_animation_frame<F>(callback_once: F) -> AnimationFrame
Calls browser’s requestAnimationFrame
. It is cancelled when the handler is dropped.