CodeMirrorAdapterEx.lookupKey method
CodeMirrorAdapterEx › lookupKey
Unofficial
Look up a key binding and invoke the callback with the associated action.Signature:
lookupKey(key: string, context: unknown, callback: (action: (codeMirrorAdapter: CodeMirrorAdapterEx) => boolean) => void): voidParameters:
| Parameter | Type | Description |
|---|---|---|
| key | string | The key binding to look up. |
| context | unknown | The context for the key lookup. |
| callback | (action: (codeMirrorAdapter: CodeMirrorAdapterEx) => boolean) => void | The callback invoked with the associated action. |
Returns: void