AboutSupportDeveloper GuideVersion 36.122.80.23

Generated when a keyboard shortcut defined in the hotkeys array in View options is pressed inside the view.

Remarks

For reference on keyboard event properties see KeyboardEvent.

Hierarchy

  • HotkeyEvent

Properties

altKey: boolean
code: string
command?: string
ctrlKey: boolean
inputType: "keyUp" | "keyDown"
key: string
metaKey: boolean
name: string
repeat: boolean
shiftKey: boolean
target: Identity
topic: "view"

The "kebab-case" classname of the emitter that raised the event.

Remarks

Frame is represented as iframe.

type: "hotkey"

The type of event that was raised. Equal to the typename of the event payload in "kebab case".

Remarks

Guaranteed to be unique within each topic, but can be repeated between topics (e.g. WebContentsEvents.CrashedEvent and ApplicationEvents.CrashedEvent).

uuid: string