Skip to content

ElectronInputEvent

Unofficial

Base shape shared by every Electron input event passed to ElectronWebContents.sendInputEvent.

Import:

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

Signature:

export interface ElectronInputEvent

Properties

Property Type Description
modifiers? Array<
| 'alt'
| 'capsLock'
| 'cmd'
| 'command'
| 'control'
| 'ctrl'
| 'isAutoRepeat'
| 'isKeypad'
| 'left'
| 'leftButtonDown'
| 'meta'
| 'middleButtonDown'
| 'numLock'
| 'right'
| 'rightButtonDown'
| 'shift'
>
The modifier keys held during the event.

Links to this page: