removeShortcut
Description
Entfernt eine Tastenkombination
removeShortcut: (shortcut: string, scope: string) => void
Parameters
shortcut- (required) string - der Schlüsselname oder der Name einer Tastenkombination für einen Shortcut (Shortcut-Syntax)scope- (required) string - das Element, an das der Shortcut gebunden ist (Liste der Geltungsbereiche)
Example
// Tastenkombination hinzufügen
gantt.addShortcut("shift+w", function(e){
var task = gantt.locate(e);
if(task)
gantt.showQuickInfo(task)
}, "taskRow");
// Tastenkombination entfernen
gantt.removeShortcut("shift+w", "taskRow");
Related samples
Details
Hinweis
Diese Methode ist in der keyboard_navigation-Erweiterung definiert, daher müssen Sie das keyboard_navigation Plugin aktivieren. Lesen Sie die Details im Artikel Keyboard Navigation.
Hinzugefügt in Version 4.1
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.