mousetrap 1.3.0

Mousetrap is a standalone library with no external dependencies. It weighs in at around 1.7kb minified and gzipped and 3kb minified.

Visit http://craig.is/killing/mice for code samples and documentation.

Install-Package mousetrap -Version 1.3.0
dotnet add package mousetrap --version 1.3.0
<PackageReference Include="mousetrap" Version="1.3.0" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add mousetrap --version 1.3.0
The NuGet Team does not provide support for this client. Please contact its maintainers for support.

Release Notes

- .unbind() now accepts an array.
- Formatting fixes.
- Fix error with trigger if nothing is bound to key.

Dependencies

This package has no dependencies.

NuGet packages (3)

Showing the top 3 NuGet packages that depend on mousetrap:

Package Downloads
mousetrap.extension.global
This extension allows you to specify keyboard events that will work anywhere including inside textarea/input fields. To use this extension, all you have to do is include the javascript on your page after you include Mousetrap.
mousetrap.extension.bind
This Mousetrap extension overwrites the default bind behavior and allows you to bind multiple combinations in a single bind call. To use this extension, all you have to do is include the javascript on your page after you include Mousetrap.
mousetrap.extension.pause
This Mousetrap extension allows Mousetrap to be paused and unpaused without having to reset keyboard shortcuts and rebind them. To use this extension, all you have to do is include the javascript on your page after you include Mousetrap.

GitHub repositories

This package is not used by any popular GitHub repositories.

Version History

Version Downloads Last updated
1.3.0 38,676 2/13/2013
1.2.2 706 12/13/2012
1.2.1 774 11/29/2012