KeyboardJS - Add Keyboard Shortcut Support to Your Websites

Introduction

KeyboardJS is a javascript library for binding keys or key combos. If you are building a website or web application that require keyboard shortcut, this script can save you heaps of times.

KeyboardJS will allow you to bind to any key the browser can detect. It allows for setting up complex key combos or even single key binds with ease. It is aware of combo overlap and will not fire simpler combos or single key bindings when they share key with larger combos. Basically if you want to use the keyboard, this will let you do it without restrictions.

Details

Features

  • No dependencies, standalone javascript
  • Binding to keys or key combos
  • Callback events
  • Language Support
  • full support for AMD module loaders such as RequireJS
  • Documentation.

Screenshots

About the Author

Kevin Liew is a web designer and developer and keen on contributing to the web development industry. He loves frontend development and absolutely amazed by jQuery. Feel free to say hi to me, or follow @quenesswebblog on twitter.

Show Some Love, Spread This Post!

1 comment

dlv Thu, 9th February 2012 well... and this is the time when I ask, How to implement this on real life (...website...) ?
Would be good if there any easy-to-understand tutorial, for example how to move trought post (as 9gag.com), images or something like this...

bye, have a nice day
Reply

Leave a comment

Have something to say? Drop a comment! No HTML tags are allowed in the comment textfield.

Advertisement