JavaScript Data Grid CreateShortcutManager

Members

activeContextName

Source code (opens new window)

createShortcutManager~activeContextName : string

The name of the active ShortcutContext.

CONTEXTS

Source code (opens new window)

createShortcutManager~CONTEXTS : UniqueMap

A unique map that stores keyboard shortcut contexts.

isCtrlKeySilenced

Source code (opens new window)

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 (opens new window)

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.
Last update: Apr 23, 2024