Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Add/remove keyboard events.
branch: master

Fetching latest commit…

Cannot retrieve the latest commit at this time

Failed to load latest commit information.
.gitignore
.npmignore
README.md
index.js
package.json
test.js

README.md

key-event

Add/remove keyboard events.

Install

$ npm install key-event

Usage

var keyEvent = require('key-event')
var removeKeyEvent = keyEvent.off

keyEvent(element, 'ctrl alt u', function (event) {
  console.log('hi!')
})
Something went wrong with that request. Please try again.