Post Format

All About The Keyboard – Handling Keyboard Shortcuts In JavaScript: Mousetrap

all-about-the-keyboard-handling-keyboard-shortcuts-in-javascript-mousetrap

Mousetrap is a simple library for handling keyboard shortcuts in Javascript. Mousetrap is a standalone library with no external dependencies. It weighs in at around 1.5kb minified and gzipped.

It has support for keypresskeydown, and keyup events on specific keys, keyboard combinations, or key sequences.

all-about-the-keyboard-handling-keyboard-shortcuts-in-javascript-mousetrap






Leave a Reply