frontend/.pnpm-store/v3/files/9f/6462607293562de7ca01952d73cfaef810d964d4b422609104a25a3a3059266e59058a57d3ea3ea5b5d1e86ab6329dde3a7c0710c1c6f37932671a2301401b

17 lines
431 B
Plaintext

# Bind Dictionary
This extension overwrites the default bind behavior and allows you to bind multiple combinations in a single bind call.
Usage looks like:
```javascript
Mousetrap.bind({
'a': function() { console.log('a'); },
'b': function() { console.log('b'); }
});
```
You can optionally pass in ``keypress``, ``keydown`` or ``keyup`` as a second argument.
Other bind calls work the same way as they do by default.