leptos_use

Function use_element_bounding_with_options

Source
pub fn use_element_bounding_with_options<El, T>(
    target: El,
    options: UseElementBoundingOptions,
) -> UseElementBoundingReturn<impl Fn() + Clone>
where El: Into<ElementMaybeSignal<T, Element>> + Clone, T: Into<Element> + Clone + 'static,
Expand description

Version of use_element_bounding that takes a UseElementBoundingOptions. See use_element_bounding for how to use.