KeyScope
Unofficial
A registered keyboard shortcut interceptor within a scope.
Import:
import type { KeyScope } from '@obsidian-typings/obsidian-public-latest';Signature:
export interface KeyScopeProperties
| 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: