跳到主要内容

touch_feedback

Description​

在触控设备上拖放前后提供振动反馈

touch_feedback: boolean

Example​

gantt.config.touch_feedback = false;
...
gantt.init("gantt_here");

默认值: true

Details​

请注意,若满足以下任一条件,该配置将不生效:

  1. 通过配置选项 touch 禁用了触控支持。
  2. 浏览器不支持 Vibration 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.