onKeyUp()
Register a function to call when a key is released.
Parameters
Once an object item has been created, you can use the following function:
item.onKeyUp(action)
| Parameter | Type | Default | Description |
|---|---|---|---|
action |
function |
required | The function to call; it receives one parameter, the virtual key code as an int, for example VK_SHIFT or VK_A. |