Skip to content

KeyboardActions

Unofficial

Keyboard actions.

Import:

import type { KeyboardActions } from '@obsidian-typings/obsidian-public-latest';

Signature:

export interface KeyboardActions

Properties

PropertyTypeDescription
down?booleanWhether the down arrow key is currently pressed.
left?booleanWhether the left arrow key is currently pressed.
right?booleanWhether the right arrow key is currently pressed.
shift?booleanWhether the shift key is currently pressed.
up?booleanWhether the up arrow key is currently pressed.
zoomin?booleanWhether the zoom-in key is currently pressed.
zoomout?booleanWhether the zoom-out key is currently pressed.

Links to this page: