removeShortcut
Description
키보드 단축키를 제거합니다
removeShortcut: (shortcut: string, scope: string) => void
Parameters
shortcut- (required) string - 단축키의 키 이름 또는 키 조합 이름 (shortcut syntax)scope- (required) string - 단축키가 연결된 요소 (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");