hotkeys-js
hotkeys-js copied to clipboard
can not support shift keyup
hotkey('*',(event)=>{ if(event.shiftkey) })
this way can trigger shift keydown. but how can i get shift keyup.
hotkeys('ctrl+a,alt+a+s', {keyup: true}, function(event, handler)
@naturaless Have you tried the following ?
hotkeys('*', { keyup: true }, () => {
if (hotkeys.shift) {
// ...
}
});