removeShortcut
Description
Удаляет клавиатурный shortcut
removeShortcut: (shortcut: string, scope?: any) => void
Parameters
shortcut- (required) string - название клавиши или комбинации клавиш для shortcut (синтаксис shortcut)scope- (optional) object - (необязательно) элемент, к которому привязан shortcut (список scope)
Example
// добавление shortcut
scheduler.addShortcut("shift+w", function(e){
var eventId = scheduler.locate(e);
if(eventId)
scheduler.showQuickInfo(eventId);
},"event");
// удаление shortcut
scheduler.removeShortcut("shift+w","event");
Related samples
Details
Добавлено в версии 4.4
Если параметр scope опущен, shortcut будет удалён из дефолтного scope "scheduler".
Related API
Related Guides
Need help?
Got a question about the documentation? Reach out to our technical support team for help and guidance. For custom component solutions, visit the Services page.