jsKeysConfig generator

A simple generator of keys config for javascript apps (keydown and keyup events)

Built using JavaScript, HTML5, CSS3,

  • 194 views
  • 0 comments

More About This Demo From The Author

1. Set settings
A sorting type (by default - groups and alphabetical) and columns.

2. Select keys
Press and select keys (a second click - deselect key).

3. Get config
and copy it in your js-code.

4. Use config
el.addEventListener("keyup", function(e) {
switch (e.keyCode) {
case KEYS.ENTER:
// code
case KEYS.DELETE:
// code
}
}, false);

No comments yet.

Log in to add your own.

About this Demo

Download the Source 11.27 KB · ZIP File

Browse the Source

This demo is released under the GPL license.

More by summerstyle