Files
sao/www/bower_components/mousetrap/plugins/pause
2026-03-14 09:49:00 +00:00
..
2026-03-14 09:49:00 +00:00
2026-03-14 09:49:00 +00:00
2026-03-14 09:49:00 +00:00

Pause/unpause

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

Usage looks like:

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

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