Files
railwaysystem/RuoYi-Vue/ruoyi-ui/node_modules2/mousetrap/plugins/pause/README.md
T

13 lines
291 B
Markdown
Raw Normal View History

2026-09-10 15:40:10 +08:00
# 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();
```