JavaScript Data GridCreateShortcutManager

Members

activeContextName

Source code

createShortcutManager~activeContextName : string

The name of the active ShortcutContext.

CONTEXTS

Source code

createShortcutManager~CONTEXTS : UniqueMap

A unique map that stores keyboard shortcut contexts.

isCtrlKeySilenced

Source code

createShortcutManager~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 code

createShortcutManager~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.