Function leptos_use::use_mouse_in_element_with_options
source ยท pub fn use_mouse_in_element_with_options<El, T, OptEl, OptT, OptEx>(
target: El,
options: UseMouseInElementOptions<OptEl, OptT, OptEx>
) -> UseMouseInElementReturn<impl Fn() + Clone>where
El: Into<ElementMaybeSignal<T, Element>> + Clone,
T: Into<Element> + Clone + 'static,
OptEl: Into<ElementMaybeSignal<OptT, EventTarget>> + Clone,
OptT: Into<EventTarget> + Clone + 'static,
OptEx: UseMouseEventExtractor + Clone + 'static,
Expand description
Version of use_mouse_in_element
that takes a UseMouseInElementOptions
. See use_mouse_in_element
for how to use.