Login   Register  
Icontem

Keyboard Shortcut: Invoke functions when multiple keys are pressed

Recommend this page to a friend!
Stumble It! Stumble It! Bookmark in del.icio.us Bookmark in del.icio.us
  Info   View files View files (5)   DownloadInstall with Composer Download .zip   Reputation   Support forum   Blog    
Last Updated Ratings Unique User Downloads Download Rankings  
2011-06-21 (3 years ago) RSS 2.0 feedNot enough user ratingsTotal: 381 All time: 67 This week: 30Up
Version License JavaScript version Categories  
kb-shortcut 1.0BSD License1.0Utilities and Tools, Events
Description Author  

This object can invoke functions when multiple keys are pressed.

It can register event handler functions to be called when a sequence of one or more keys is pressed.

The key sequence is defined by a string with the names of the keys, which can be letters, digits, symbols or qualifier keys like Ctrl, Alt and Shift.

The registered callback handler function may also be called periodically while the defined key sequence is still being pressed.

Picture of Arturs Sosins
Name: Arturs Sosins <contact>
Classes: 46 packages by
Country: Latvia Latvia
Age: 26
All time rank: 1
Week rank: 5 Down1 in Latvia Latvia Equal
Innovation award
Innovation award
Nominee: 3x

Winner: 3x

  Files folder image Files  
File Role Description
Plain text file kb_shortcut.js Class Main class
Plain text file kb_shortcut.packed.js Class Main class packed
Accessible without login Plain text file example.html Example Example of things can be achieved using class
Accessible without login Plain text file simple_example.html Example Simple example of class usage
Accessible without login Plain text file squario.html Example Some sort of mario parody using key binding

 Version Control Unique User Downloads Download Rankings  
 0%Total:381All time:67
 This week:0This week:30Up