Skip to content

KeyboardActions

Unofficial

Keyboard actions.

Import:

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

Signature:

export interface KeyboardActions

Properties

Property Type Description
down? boolean Whether the down arrow key is currently pressed.
left? boolean Whether the left arrow key is currently pressed.
right? boolean Whether the right arrow key is currently pressed.
shift? boolean Whether the shift key is currently pressed.
up? boolean Whether the up arrow key is currently pressed.
zoomin? boolean Whether the zoom-in key is currently pressed.
zoomout? boolean Whether the zoom-out key is currently pressed.

Links to this page: