All versions of this documentation
Download code Jump to the code Open in the playground

Keyboard interactions

The keyboard module allows you to bind an action to a given combination of keys. In this example, we bind the addition of a node to a combination, and the removal of a node to another combination: