keyhandler
Hassle-free keyboard handler to implement shortcuts in your web application.
Installation
First install it via npm or yarn
$ npm install keyhandler --save
or
$ yarn add keyhandler
then import to js modules
// orconst Keyhandler =
it's now ready to use.
Usage
Keyhandler needs rendered elements. So it's a good practice to enqueue handlers after the entire body loaded.
Keyhandler
Tests
$ npm test
Contributing
Please write unit tests for every new or changed function Don't forget to lint and test