Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

which is the best Javascript Keyboard event library.(Hotkeys,Shortcuts ) [closed]

i want to make a bbs forum that using much Keyboard event ,

so which is the best Keyboard event library,

thanks

like image 768
zjm1126 Avatar asked Mar 01 '10 01:03

zjm1126


People also ask

What are the keyboard events in JavaScript?

There are three types of keyboard events: keydown , keypress , and keyup .

What is the hotkey?

A hot key is a key or a combination of keys on a computer keyboard that, when pressed at one time, performs a task (such as starting an application) more quickly than by using a mouse or other input device. Hot keys are sometimes called shortcut keys.

Which keyboard event is used for script runs when key is pressed?

keypress – fires when you press a character keyboard like a , b , or c , not the left arrow key, home, or end keyboard, … The keypress also fires repeatedly while you hold down the key on the keyboard.


1 Answers

Just another to throw in the mix. I recently released one called Mousetrap. You can check out examples at http://craig.is/killing/mice

like image 182
Craig Avatar answered Sep 28 '22 17:09

Craig