본문으로 건너뛰기

getShortcutHandler

Description

키 내비게이션 shortcut에 대한 핸들러를 가져옵니다

getShortcutHandler: (shortcut: string, scope?: string) => SchedulerCallback

Parameters

  • shortcut - (required) string - shortcut을 정의하는 키 또는 키 조합 (shortcut syntax)
  • scope - (optional) string - (선택 사항) 핸들러가 부착될 컨텍스트 요소의 이름 (scope 목록)

Returns

  • shortcut_handler - (function) - shortcut 동작을 처리하는 함수

Example

var shortcut_handler = scheduler.getShortcutHandler("ctrl+a", "event");

Details

버전 5.0에서 도입됨

scope 파라미터가 생략되면, 핸들러는 기본 "scheduler" scope에 부착됩니다.

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.