jsKeysConfig generator

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

Built using JavaScript, HTML5, CSS3,

  • 257 views
  • 0 comments

اطّلاعات بیشتر درباره‌ی این نسخه‌ی نمایشی از زبان نویسنده‌اش

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);

هنوز نظری نوشته نشده.

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