Skip to content

npm-dom/key-event

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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!')
})

Releases

No releases published

Packages

No packages published