hotkeys-js icon indicating copy to clipboard operation
hotkeys-js copied to clipboard

➷ A robust Javascript library for capturing keyboard input. It has no dependencies.

Results 152 hotkeys-js issues
Sort by recently updated
recently updated
newest added

Hi, I’m looking into creating a react-native app and I wanted to support key combinations for shortcuts, I was wondering if there’s any guides for integrating hotkeys.js (or if an...

I have two div A and div B I want to add same keyboard shortcuts, ctrl+up and ctrl+down works alright, but the problem begins when I navigate with the arrow...

Hello, Thanks for a wonderful keyboard binding library, I was trying to integrate this library in my vue project I and can't. Does any one tried to implement in their...

Demo

Hi there, First of all, thank you for the amazing JS library. As mentioned above, is it possible to have same key sequentially being pressed as the hotkey? This would...

Love the library, for the longest time I have been using jquery.keys.js, nice and simple, but it's a jquery plugin. One of the features of jquery.keys.js (https://github.com/jollytoad/jquery.keys/blob/ondemand/src/keys.core.js) is that any...

Is there anyway to define a key specific to one on the numberpad? For instance, I would like to define a key to the asterisk on the number pad, or...

Does not react on combination Ctrl+Shift+Z (Thanks a lot for excellent library, great job!)

Demo

Shift by itself doesn't work. ``` hotkeys('shift', function() { console.log('Shift pressed') }) ``` Here's a working example: [CodeSandbox](https://codesandbox.io/s/condescending-napier-fh45j?file=/src/App.js)

hotkeys("shift", { keyup: true }, function (evn, handler) { // eventFunction... } if i press shift key, doesnt execute event function.

I built a hotkeys manager around this library and I need to use some of its types, but they are not exported. It's an easy fix though.