Skip to content

KeyScope

Unofficial

A registered keyboard shortcut interceptor within a scope.

Import:

import type { KeyScope } from '@obsidian-typings/obsidian-catalyst-latest';

Signature:

export interface KeyScope

Properties

Property Type Description
key null | string Key to match.
modifiers null | string Modifiers to match.
scope Scope obsidian#Scope where the key interceptor is registered.

Methods

Method Returns Description
func() void Callback of function to execute when key is pressed.

Links to this page: