removeShortcut

removes a keyboard shortcut

void removeShortcut(string shortcut, [object scope] );
shortcutstringthe key name or the name of keys combination for a shortcut (shortcut syntax)
scopeobject(optional) the element to which the shortcut is attached (list of scopes)

Example

// adding a shortcut
scheduler.addShortcut("shift+w", function(e){ 
    var eventId = scheduler.locate(e); 
    if(eventId) 
        scheduler.showQuickInfo(eventId);
},"event");
 
// removing a shortcut
scheduler.removeShortcut("shift+w","event");

Related samples

Details

Added in version 4.4

If the scope parameter is not provided the "scheduler" scope will be used by default.

See also
Back to top