Skip to content

KeymapEventHandler

Official

Event handler for the keymap.

Import:

import type { KeymapEventHandler } from 'obsidian';

Signature:

export interface KeymapEventHandler 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)
scopeScopeThe scope of the keymap.

Links to this page: