Function leptos_dom::helpers::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
.