Function leptos_dom::helpers::set_timeout
source · pub fn set_timeout(cb: impl FnOnce() + 'static, duration: Duration)
Expand description
Executes the given function after the given duration of time has passed.
setTimeout()
.