Skip to main content

touch

Description

Enables/disables the touch support in the scheduler

touch: boolean | string

Example

scheduler.config.touch = "force";
...
scheduler.init('scheduler_here',new Date(2013,3,10),"week");

Default value: true

Details

As a string, the parameter can take the only value - 'force'.


So, there are 3 possible values that the parameter can take:

  • true - the scheduler tries to detect the touch device by analyzing the user-agent string of the browser and, if a touch device is detected, enables the touch support.
  • 'force' - enables the persistent touch support, no matter what kind of device is used.
  • false - disables the touch support.
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.