Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/bitnbytesio/shortkit

Handle key events
https://github.com/bitnbytesio/shortkit

Last synced: 8 days ago
JSON representation

Handle key events

Awesome Lists containing this project

README

        

# shortkit
Shortkit.js requires js to work.

**structure**

$.shortkit(map, ctrl, alt, shift)

```javascript

$.shortkit({
't' : function () {
alert('t is pressed with alt key down');
},
'l': function () {
alert('l is pressed with alt key down');
}
}, false, true, false);

$.shortkit({
'C' : function () {
alert('c is pressed with shift key down');
}
}, false, false, true);

```