Debian Codegraph @

plugins/bind-dictionary/README.md

raw symbols SCIP
1 # Bind Dictionary
2
3 This extension overwrites the default bind behavior and allows you to bind multiple combinations in a single bind call.
4
5 Usage looks like:
6
7 ```javascript
8 Mousetrap.bind({
9 'a': function() { console.log('a'); },
10 'b': function() { console.log('b'); }
11 });
12 ```
13
14 You can optionally pass in ``keypress``, ``keydown`` or ``keyup`` as a second argument.
15
16 Other bind calls work the same way as they do by default.