jaywcjlove / react-hotkeys

React component to listen to keydown and keyup keyboard events, defining and dispatching keyboard shortcuts.

Home Page:https://jaywcjlove.github.io/react-hotkeys/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Include support for the splitKey option

leroydev opened this issue · comments

I want to be able to bind to the shortcut CTRL and +.
To be able to do this, I need support for the splitKey option (jaywcjlove/hotkeys-js#105).

I think it'd be ideal if it could be used like this:

<Hotkeys keyName="ctrl_+" splitKey="_">...</Hotkeys>

I will try and make a pull request with this feature. :)