- useDragMove(positionRef): {
dragging: ComputedRef<boolean>;
onPointerDown: ((ev: PointerEvent) => void);
onPointerMove: ((ev: PointerEvent) => void);
onPointerUp: (() => void);
} Parameters
- positionRef: Ref<IPosition, IPosition>
Returns {
dragging: ComputedRef<boolean>;
onPointerDown: ((ev: PointerEvent) => void);
onPointerMove: ((ev: PointerEvent) => void);
onPointerUp: (() => void);
}
dragging: ComputedRef<boolean>
onPointerDown: ((ev: PointerEvent) => void)
onPointerMove: ((ev: PointerEvent) => void)
onPointerUp: (() => void)