Welcome to mirror list, hosted at ThFree Co, Russian Federation.

README.md « pause « plugins « mousetrap « bower_components « libs - github.com/matomo-org/matomo.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: 0b3b3bd2e3450e37b36b01f303682f20e87c94d0 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
# Pause/unpause

This extension allows Mousetrap to be paused and unpaused without having to reset keyboard shortcuts and rebind them.

Usage looks like:

```javascript
// stop Mousetrap events from firing
Mousetrap.pause();

// allow Mousetrap events to fire again
Mousetrap.unpause();
```