跳到主要内容

touch_drag

Description​

定义用于将长按手势与滚动手势区分开的毫秒级时间段

touch_drag: number | boolean

Example​

gantt.config.touch_drag = 75;
...
gantt.init("gantt_here");

默认值: 500

Details​

注意,如果将参数设为 false,用户将无法拖动任务。

Need help?
Got a question about the documentation? Reach out to our technical support team for help and guidance. For custom component solutions, visit the Services page.