قرینه از
https://github.com/matomo-org/matomo.git
synced 2025-08-22 23:17:46 +00:00

* update npm packages to latest * fix javascript path location * update screenshots * Add node_modules for users that do not have npm insalled but use git to deploy. * fix release checklist test * Add old chroma-js + some files missing from node_module. * remove npm install * fix .travis.yml * update expected screenshots * update submodule Co-authored-by: sgiehl <stefan@matomo.org>
17 خطوط
431 B
Markdown
Vendored
17 خطوط
431 B
Markdown
Vendored
# 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.
|