https://github.com/simbathesailor/react-key-collector
A small library allows to handle multiple key stroke events in react :key:
https://github.com/simbathesailor/react-key-collector
keyevents react-hooks typescript
Last synced: 3 months ago
JSON representation
A small library allows to handle multiple key stroke events in react :key:
- Host: GitHub
- URL: https://github.com/simbathesailor/react-key-collector
- Owner: simbathesailor
- License: mit
- Created: 2019-03-31T19:07:03.000Z (about 6 years ago)
- Default Branch: master
- Last Pushed: 2022-12-09T17:52:18.000Z (over 2 years ago)
- Last Synced: 2024-04-26T14:45:47.634Z (about 1 year ago)
- Topics: keyevents, react-hooks, typescript
- Language: JavaScript
- Homepage:
- Size: 4.89 MB
- Stars: 1
- Watchers: 3
- Forks: 0
- Open Issues: 21
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# A library to react to key presses using react hooks :boom: :boom:
**_High level overview_**: You pass in keycodes (for now) and callback to the function exposed. Whenever the all the keys are pressed, callback will be called.
**Note**: It's still not ready to be consumed. Some tasks are pending:
# Tasks
1. adding support for the ordering of keys.
2. Adding support for getting list of all the shortcuts.
3. Need to add examples.