keyboard-shortcuts
0.2.0 • Public • Published keyboard-shortcuts
Keyboard shortcuts
import Keys, { getKeyCombo } from 'keyboard-shortcuts';
const key = Keys.c;
Keys[key];
const event = {
altKey: false
charCode: 99
ctrlKey: false
keyCode: 99
keyIdentifier: "U+0043"
metaKey: false
shiftKey: false
timeStamp: 1440844681923
type: "keypress"
which: 99
};
getKeyCombo(event);
Readme
Keywords
nonePackage Sidebar
Install
Weekly Downloads