跳到主要内容

touch_feedback_duration

Description

定义在触摸设备上拖放前后的振动反馈持续时间(以毫秒为单位)

touch_feedback_duration: number

Example

gantt.config.touch_feedback_duration = 1;
...
gantt.init("gantt_here");

默认值: 1

Details

已在版本 4.1 中添加

请注意,如果以下任一条件成立,该配置将无效:

  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.