File: README.md

package info (click to toggle)
node-mousetrap 1.6.1%2Bds-1
  • links: PTS, VCS
  • area: main
  • in suites: buster
  • size: 236 kB
  • ctags: 212
  • sloc: makefile: 2; sh: 2
file content (24 lines) | stat: -rw-r--r-- 563 bytes parent folder | download | duplicates (7)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
# Plugins

Plugins extend the functionality of Mousetrap.  To use a plugin just include the plugin after mousetrap.

```html
<script src="mousetrap.js"></script>
<script src="mousetrap-record.js"></script>
```

## Bind dictionary

Allows you to make multiple bindings in a single ``Mousetrap.bind`` call.

## Global bind

Allows you to set global bindings that work even inside of input fields.

## Pause/unpause

Allows you to temporarily prevent Mousetrap events from firing.

## Record

Allows you to capture a keyboard shortcut or sequence defined by a user.