angular-hotkeys
angular-hotkeys copied to clipboard
2+ key combo support
It isn't mentioned anywhere that more than two key combos are not supported. If I assign 'alt+s+c' then s
is ignored.
Check Mousetrap for supported keybinds:
https://craig.is/killing/mice
Your example does not really make sense. Noone is actually pressing two non-modifier keys at the same time, that's not something that is usually done. And as such it's unsurprising that it is not supported by Mousetrap / this library.
Two or more modifier keys, on the other hand, is supported. E.g. ctrl+shift+e.
And what's also supported are multiple non-modifier keys triggered in succession, like the famous 'g i' from Google Mail (go to inbox).
I know this is pretty late, but you can do this with combo: 'alt+s alt+c'