Function leptos_use::use_draggable_with_options
source ยท pub fn use_draggable_with_options<El, T, DragEl, DragT, HandleEl, HandleT>(
target: El,
options: UseDraggableOptions<DragEl, DragT, HandleEl, HandleT>
) -> UseDraggableReturnwhere
El: Into<ElementMaybeSignal<T, EventTarget>>,
T: Into<EventTarget> + Clone + 'static,
DragEl: Clone + Into<ElementMaybeSignal<DragT, EventTarget>>,
DragT: Into<EventTarget> + Clone + 'static,
HandleEl: Into<ElementMaybeSignal<HandleT, EventTarget>>,
HandleT: Into<EventTarget> + Clone + 'static,
Expand description
Version of use_draggable
that takes a UseDraggableOptions
. See use_draggable
for how to use.