UNPKG

hy-vue-gantt

Version:

Evolution of vue-ganttastic package

8 lines (7 loc) 401 B
import type { GanttBarObject } from "../types"; export declare function useTouchEvents(initDragCallback: (bar: GanttBarObject, e: MouseEvent) => void, threshold?: number): { handleTouchStart: (event: TouchEvent, bar?: GanttBarObject) => void; handleTouchMove: (event: TouchEvent) => void; handleTouchEnd: (event: TouchEvent) => void; handleTouchCancel: (event: TouchEvent) => void; };