touch_feedback_duration
Description
指定触摸设备上拖放操作前后振动反馈持续的时间(以毫秒为单位)
touch_feedback_duration: number
Example
gantt.config.touch_feedback_duration = 1;
...
gantt.init("gantt_here");
Default value: 1
Details
该配置项自版本4.1引入
请注意,如果满足以下条件,该设置将不起作用:
- 使用touch配置选项关闭了触摸支持。
- 浏览器不支持Vibration API。
Related API
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.