pub fn request_animation_frame(cb: impl FnMut() + 'static)
Expand description

Runs the given function between the next repaint using Window.requestAnimationFrame.