Skip to Content
🚨 New Example: Handling Node Collisions!

KeyCode

Source on GitHub 

The KeyCode type is used to specify keyboard key codes or combinations, such as deleting nodes or enabling multi-selection. It can be a single string or an array of strings representing key codes.

type KeyCode = string | Array<string>;
Last updated on