Function leptos::request_animation_frame
source · pub fn request_animation_frame(cb: impl FnOnce() + 'static)
Expand description
Runs the given function between the next repaint using
Window.requestAnimationFrame
.
pub fn request_animation_frame(cb: impl FnOnce() + 'static)
Runs the given function between the next repaint using
Window.requestAnimationFrame
.