Skip to content

KeymapContext

Official

Context of the keymap.

Import:

import type { KeymapContext } from 'obsidian';

Signature:

export interface KeymapContext extends KeymapInfo

Extends: KeymapInfo

Properties

PropertyTypeDescription
keynull | stringThe main key of the keymap.
(Inherited from KeymapInfo)
modifiersnull | stringThe modifiers of the keymap.
(Inherited from KeymapInfo)
vkeystringInterpreted virtual key.