use-keyboar
capture key combinations easily
Module
Syntax
where:
ref, the reference to associate the event keydown and keyup.
keysCode: key combination to capture
callback: receives the last event of the key combination
Example
Last updated