Search...
A React Hook that helps to handle keyup event.
keyup
Try to press Enter to increase the counter.
Enter
See API for more details.
Click links below to view source on GitHub.
It's derivated from useKeyStroke, see useKeyStroke for more details.
useKeyStroke
// same as `useKeyStroke(keyFilter, handler, {...options, eventName: 'keyup'})` const stop = useKeyUp(keyFilter, handler, options)