touch
Description
开启或关闭调度器中的touch支持
touch: boolean | string
Example
scheduler.config.touch = "force";
...
scheduler.init('scheduler_here',new Date(2013,3,10),"week");
Default value: true
Related samples
Details
当参数为字符串时,仅接受一个值 - 'force'。
这意味着该参数可以有三种不同的取值:
- true - 调度器通过检查浏览器的user-agent字符串尝试识别touch设备,若检测到则启用touch支持。
- 'force' - 始终保持touch支持开启,无论使用的设备类型。
- false - 关闭touch支持。
Related API
Related Guides
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.