getShortcutHandler
Description
Gets a key navigation shortcut handler
getShortcutHandler: (shortcut: string, scope?: string) => SchedulerCallback
Parameters
shortcut- (required) string - the key name or the name of keys combination for a shortcut (shortcut syntax)scope- (optional) string - (optional) the name of the context element to attach the handler function to (list of scopes)
Returns
shortcut_handler- (function) - the handler of the shortcut call
Example
var shortcut_handler = scheduler.getShortcutHandler("ctrl+a", "event");
Related samples
Details
Added in version 5.0
If the scope parameter is not provided the "scheduler" scope will be used by default.
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.