@tplc/wot
Version:
12 lines (11 loc) • 366 B
TypeScript
export declare function useTouch(): {
touchStart: (event: any) => void
touchMove: (event: any) => void
direction: import('vue').Ref<string>
deltaX: import('vue').Ref<number>
deltaY: import('vue').Ref<number>
offsetX: import('vue').Ref<number>
offsetY: import('vue').Ref<number>
startX: import('vue').Ref<number>
startY: import('vue').Ref<number>
}