removeShortcut

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

void removeShortcut(string shortcut, [object scope] );
shortcutstring단축키의 키 이름 또는 키 조합 이름 (shortcut syntax)
scopeobject(선택 사항) 단축키가 연결된 요소 (list of scopes)

Example

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

Related samples

Details

버전 4.4에서 추가됨

scope 파라미터를 생략하면, 단축키는 기본 "scheduler" scope에서 제거됩니다.

See also
맨 위로