본문으로 건너뛰기

touch

Description

Gantt 차트의 터치 지원을 활성화/비활성화합니다.

touch: boolean | string

Example

gantt.config.touch = "force";
...
gantt.init("gantt_here");

기본값: true

Details

문자열로 전달될 경우 매개변수의 유일한 값은 - 'force' 입니다.

따라서 매개변수가 가질 수 있는 값은 총 3가지가 있습니다:

  • true - dhtmlxGantt는 브라우저의 user-agent 문자열을 분석하여 터치 디바이스를 감지하려고 시도하며, 터치 디바이스가 감지되면 터치 지원을 활성화합니다.
  • 'force' - 어떤 종류의 디바이스가 사용되든 지속적인 터치 지원을 활성화합니다.
  • false - 터치 지원을 비활성화합니다.
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.