Function leptos_use::use_resize_observer_with_options

source ยท
pub fn use_resize_observer_with_options<El, T, F>(
    target: El,
    callback: F,
    options: UseResizeObserverOptions
) -> UseResizeObserverReturn<impl Fn() + Clone>
where El: Into<ElementsMaybeSignal<T, Element>>, T: Into<Element> + Clone + 'static, F: FnMut(Vec<ResizeObserverEntry>, ResizeObserver) + 'static,
Expand description

Version of use_resize_observer that takes a web_sys::ResizeObserverOptions. See use_resize_observer for how to use.