browser-keymap
v0.0.1
Published
browserify module to convert keydown events to string
Downloads
2
Readme
A browserify module to convert keydown events to a string.
Usage
var keymap = require('browser-keymap')
document.getElementsByTagName("input")[0].addEventListener("keydown", function(event) {
console.log(keymap(event))
})
Examples
A-C-r
- control-alt-r!
- shift-1C-a
- control-aS-enter
- shift-enter