mirror of
https://github.com/Combodo/iTop.git
synced 2026-02-25 21:34:12 +01:00
14 lines
291 B
Markdown
14 lines
291 B
Markdown
# 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();
|
|
```
|