getShortcutHandler

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

function getShortcutHandler(string shortcut, [string scope] );
shortcutstringshortcut을 정의하는 키 또는 키 조합 (shortcut syntax)
scopestring(선택 사항) 핸들러가 부착될 컨텍스트 요소의 이름 (scope 목록)
functionshortcut 동작을 처리하는 함수

Example

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

Related samples

Details

버전 5.0에서 도입됨

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

See also
맨 위로