Skip to content

useKeyUp

Hook | Source Code


useKeyUp(key: string, handler: KeyEventHandler): void


Registers an event listener for the moment when a specific key is released.

The key to listen for.


The handler to invoke when the specified key is released.