mousetrap icon indicating copy to clipboard operation
mousetrap copied to clipboard

Simple library for handling keyboard shortcuts in Javascript

Results 101 mousetrap issues
Sort by recently updated
recently updated
newest added

Hey ! First thanks for the library, really easy to use and do a good job. I have a bit of a problem, when I'm attaching mousetrap to a specific...

Hi, I am exploring mousetrap, could you please let me know how to make this work with other locale like Japanese?

I have some use cases, particularly chieffancypants/angular-hotkeys#186 which requires multiple callbacks under the same combo. Apart from key logging for A/B tests and general purpose event cancelling, there are many...

I'm searching for a keyboard library and yours seem great. But at first glance at the documentation, I can't see anywhere that would allow me to bind all alphabet characters,...

Hi, After viewing issue #306 I was thinking of contributing to the plugin because I need an unbindGlobal method. I didn't modified the min.js version because I didn't found how...

Hello. When you enter certain hotkeys( «ctrl a» for example ), the ctrl key is saved in a sequence for 1 second, which allows you to enter an additional key,...

ctrl+alt+[digits] / letters events not being fired every time. Tested on chrome and safari with the following key combinations: ctrl+alt+[1-6], ctrl+alt+[a-d].

As follow up for #290 I would love to see regular expression support as a binding. My use case is binding [0-6]{6} to an event from a barcode reader.

I implemented - leftclick - middleclick - rightclick Now it's possible to watch for clicks. ``` javascript Mousetrap.bind('ctrl+leftclick', function() { console.log('ctrl was pressed while left click'); }); ``` Currently I...