getShortcutHandler
Description
Получает обработчик сочетания клавиш для навигации по клавиатуре
getShortcutHandler: (shortcut: string, scope?: string) => SchedulerCallback
Parameters
shortcut- (required) string - имя клавиши или название сочетания клавиш для ярлыка (shortcut syntax)scope- (optional) string - имя элемента контекста, к которому будет привязана функция-обработчик (список контекстов)
Returns
shortcut_handler- (function) - обработчик вызова ярлыка
Example
const shortcut_handler = scheduler.getShortcutHandler("ctrl+a", "event");
Related samples
Details
Добавлено в версии 5.0
Если параметр 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.