Skip to content

@graphty/graphty-element / index / InputShortcutEvent

Interface: InputShortcutEvent ​

Defined in: graphty-element/src/events.ts:568

Emitted for the undo, redo and select-all keyboard shortcuts on the canvas while input is enabled.

Undo is Ctrl+Z, redo Ctrl+Shift+Z or Ctrl+Y, select-all Ctrl+A; Cmd replaces Ctrl on macOS.

Properties ​

type ​

type: "input:undo" | "input:redo" | "input:select-all"

Defined in: graphty-element/src/events.ts:569