removeShortcut

키보드 단축키를 제거합니다

void removeShortcut(string shortcut,string scope);
shortcutstring단축키의 키 이름 또는 키 조합 이름 (shortcut syntax)
scopestring단축키가 연결된 요소 (list of scopes)

Example

// 단축키 추가
gantt.addShortcut("shift+w", function(e){ 
    var task = gantt.locate(e); 
    if(task) 
        gantt.showQuickInfo(task)
}, "taskRow");
 
// 단축키 제거
gantt.removeShortcut("shift+w", "taskRow");

Related samples

Details

이 메서드는 keyboard_navigation 확장의 일부이므로, keyboard_navigation 플러그인을 활성화해야 합니다. 자세한 내용은 키보드 내비게이션 문서를 참조하세요.

버전 4.1에서 추가됨

See also
Back to top