useKeyUp
Hook | Source Code
useKeyUp(key: string, handler: KeyEventHandler): void
Registers an event listener for the moment when a specific key is released.
Parameters
Section titled “Parameters”key: string
Section titled “key: string”The key to listen for.
handler: KeyEventHandler
Section titled “handler: KeyEventHandler”The handler to invoke when the specified key is released.