본문으로 건너뛰기

wheel_scroll_sensitivity

Description

마우스 휠로 간트 차트를 스크롤하는 속도를 지정합니다

wheel_scroll_sensitivity: undefined | number | { x?: number; y?: number; }

Example

// 두 배 속도로 스크롤
gantt.config.wheel_scroll_sensitivity = 2;

// 절반 속도로 스크롤
gantt.config.wheel_scroll_sensitivity = 0.5;

// 또는 축별로 다른 속도로 스크롤
gantt.config.wheel_scroll_sensitivity = {
x: 1,
y: 0.5
};

기본값: undefined

Details

객체 구성에는 다음 속성이 있습니다:

  • x - (number) - 수평 속도
  • y - (number) - 수직 속도

Change log

  • v7.0.11 버전에 추가됨
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.