mousetrap 1.3.0

dotnet add package mousetrap --version 1.3.0                
NuGet\Install-Package mousetrap -Version 1.3.0                
This command is intended to be used within the Package Manager Console in Visual Studio, as it uses the NuGet module's version of Install-Package.
<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                
#r "nuget: mousetrap, 1.3.0"                
#r directive can be used in F# Interactive and Polyglot Notebooks. Copy this into the interactive tool or source code of the script to reference the package.
// Install mousetrap as a Cake Addin
#addin nuget:?package=mousetrap&version=1.3.0

// Install mousetrap as a Cake Tool
#tool nuget:?package=mousetrap&version=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.

There are no supported framework assets in this package.

Learn more about Target Frameworks and .NET Standard.

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 Downloads Last updated
1.3.0 94,519 2/13/2013
1.2.2 1,671 12/13/2012
1.2.1 2,417 11/29/2012

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