JavaScript Data GridCreateShortcutManager
Members
activeContextName
Source codecreateShortcutManager~activeContextName : string
The name of the active ShortcutContext
.
CONTEXTS
Source codecreateShortcutManager~CONTEXTS : UniqueMap
A unique map that stores keyboard shortcut contexts.
isCtrlKeySilenced
Source codecreateShortcutManager~isCtrlKeySilenced : boolean
This variable relates to the captureCtrl
shortcut option,
which allows for capturing the state of the Control/Meta modifier key.
Some of the default keyboard shortcuts related to cell selection need this feature for working properly.
Methods
recorderCallback
Source codecreateShortcutManager~recorderCallback(event, keys, context) ⇒ boolean
A callback function for listening events from the recorder.
Param | Type | Description |
---|---|---|
event | KeyboardEvent | The keyboard event. |
keys | Array<string> | Names of the shortcut's keys, (coming from KeyboardEvent.key (opens new window)), in lowercase or uppercase, unified across browsers. |
context | object string | The context object or name. |