is-hotkey
Check whether a browser event matches a hotkey.
Check whether a browser event matches a hotkey.
![GitHub package.json version](https://img.shields.io/github/package-json/v/davidwieler/keybindings) [![CircleCI](https://circleci.com/gh/davidwieler/keybindings/tree/master.svg?style=svg)](https://circleci.com/gh/davidwieler/keybindings/tree/master) ![Gi
Keyboard events as values for React (hook)
Check whether a browser event matches a hotkey.
Check whether a browser event matches a hotkey.
get a keyboard key definition from event
Use an easy-to-read key combo string to capture keyboard events. For example: `⇧ ⌥ ⌘ + K` → `e.shiftKey && e.altKey && e.metaKey && e.code === 'KeyK'`
Check whether a browser event matches a hotkey.