Skip to content

KeymapContext

Official

Context of the keymap.

Import:

import type { KeymapContext } from 'obsidian';

Signature:

export interface KeymapContext extends KeymapInfo

Extends: KeymapInfo

Properties

Property Type Description
key null | string The main key of the keymap.
(Inherited from KeymapInfo)
modifiers null | string The modifiers of the keymap.
(Inherited from KeymapInfo)
vkey string Interpreted virtual key.