Function leptos_use::use_mutation_observer_with_options

source ยท
pub fn use_mutation_observer_with_options<El, T, F>(
    target: El,
    callback: F,
    options: UseMutationObserverOptions
) -> UseMutationObserverReturn<impl Fn() + Clone>
where El: Into<ElementsMaybeSignal<T, Element>>, T: Into<Element> + Clone + 'static, F: FnMut(Vec<MutationRecord>, MutationObserver) + 'static,
Expand description

Version of use_mutation_observer that takes a UseMutationObserverOptions. See use_mutation_observer for how to use.