키보드 단축키를 제거합니다
shortcut | string | 단축키의 키 이름 또는 키 조합 이름 (shortcut syntax) |
scope | object | (선택 사항) 단축키가 연결된 요소 (list of scopes) |
// 단축키 추가
scheduler.addShortcut("shift+w", function(e){
var eventId = scheduler.locate(e);
if(eventId)
scheduler.showQuickInfo(eventId);
},"event");
// 단축키 제거
scheduler.removeShortcut("shift+w","event");
버전 4.4에서 추가됨
scope
파라미터를 생략하면, 단축키는 기본 "scheduler" scope에서 제거됩니다.