跳到主要内容

touch_drag

Description

设置区分长按手势与滚动手势的时间周期,单位为毫秒

touch_drag: number | boolean

Example

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

Default value: 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.