Skip to content
Browse files

Update README

  • Loading branch information...
1 parent b147dd1 commit c9e6659931501900b3906f818d21a14664ebaf64 @ccampbell committed Jul 15, 2012
Showing with 2 additions and 0 deletions.
  1. +2 −0 README.md
View
2 README.md
@@ -30,6 +30,8 @@ It has support for ``keypress``, ``keydown``, and ``keyup`` events on specific k
// combinations
Mousetrap.bind('command+shift+K', function() { console.log('command shift k'); });
+
+ // map multiple combinations to the same callback
Mousetrap.bind(['command+k', 'ctrl+k'], function() {
console.log('command k or control k');

0 comments on commit c9e6659

Please sign in to comment.
Something went wrong with that request. Please try again.