• 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)
        • (ev): void
        • Parameters

          • ev: PointerEvent

          Returns void

    • onPointerMove: ((ev: PointerEvent) => void)
        • (ev): void
        • Parameters

          • ev: PointerEvent

          Returns void

    • onPointerUp: (() => void)
        • (): void
        • Returns void