Skip to Content
🚨 New Example: Handling Node Collisions!
ReferenceTypesKeyDefinition

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