Function leptos_use::use_raf_fn_with_options

source ยท
pub fn use_raf_fn_with_options(
    callback: impl Fn(UseRafFnCallbackArgs) + 'static,
    options: UseRafFnOptions
) -> Pausable<impl Fn() + Clone, impl Fn() + Clone>
Expand description

Version of use_raf_fn that takes a UseRafFnOptions. See use_raf_fn for how to use.