We need to add support to listen to more than one key code, e.g.:
const A = 65;
const B = 66;
keyHandler({ keyCodes: [A, B] })(MyComponent);
could probably decorate a property keyCodes to MyComponent:
{
alt: true,
ctrl: false,
meta: false,
shift: false,
65: true,
66: false,
}
Alternatively, the following projects looks promising:
If you're interesting in working on this, let me know :)
We need to add support to listen to more than one key code, e.g.:
could probably decorate a property
keyCodestoMyComponent:Alternatively, the following projects looks promising:
If you're interesting in working on this, let me know :)