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

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)
scope Scope The scope of the keymap.

Links to this page: