Skip to Content
📣 We just released Svelte Flow 1.0 Alpha — try it out and give us your feedback!

KeyDefinition

A key definition is a string or an object that describes a key and a modifier. It is used for defining built-in keybindings like selectionKey or deleteKey.

export type KeyDefinitionObject = { key: string; modifier?: KeyModifier }; export type KeyDefinition = string | KeyDefinitionObject;
Last updated on