mousetrap
mousetrap copied to clipboard
Simple library for handling keyboard shortcuts in Javascript
Hi, I have an Electron app in which I would like to intercept - Windows Key + R - Windows Key + E - Windows Key + F - Windows...
In the latest version of Safari, command+h, refuses to bind. Reproduced here: http://jsfiddle.net/hnLx84to/2/
I noticed that if I press and hold the Windows key then press the left or right arrows that mouse trap will still detect the arrow key presses. Is there...
Instead of the second bind combo overwriting the first, may we have a top-level function that will return a true/false for a given combo? I am using mousetrap in a...
Hi, I am having issues with bindings, which use '+' or '-' as a standalone key or in sequence. Case in point: I have buttons, which has '+' and '-'...
[KeyboardEvent.which](https://developer.mozilla.org/en-US/docs/Web/API/KeyboardEvent/which) is now deprecated. It's currently used in `_characterFromEvent`. Would it be possible to update the lib to use [KeyboardEvent.key](https://developer.mozilla.org/en-US/docs/Web/API/KeyboardEvent/key) instead?
Hi! I think I found a small issue with handling events in Shadow Dom. Events from input elements **with mousetrap** class are not fired. Fix seems pretty straightforward, I tested...
Our application is using mousetrap 1.6.5 The shortcuts are working fine with US keyboard but is not working in non US keyboard like Russian. We tried following and both do...
like the title, Can this support mouseEvent like leftclick