dotnet add package jQuery.Hotkeys --version
NuGet\Install-Package jQuery.Hotkeys -Version
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="jQuery.Hotkeys" Version="" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add jQuery.Hotkeys --version
#r "nuget: jQuery.Hotkeys,"
#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 jQuery.Hotkeys as a Cake Addin
#addin nuget:?package=jQuery.Hotkeys&version=

// Install jQuery.Hotkeys as a Cake Tool
#tool nuget:?package=jQuery.Hotkeys&version=

jQuery Hotkeys is a plug-in that lets you easily add and remove handlers for keyboard events anywhere in your code supporting almost any key combination.

This plugin is based off of the plugin by Tzury Bar Yochay: https://github.com/tzuryby/hotkeys

The syntax is as follows:

$(expression).bind(types.keys, handler);
$(expression).unbind(types.keys, handler);

$(document).bind('keydown.ctrl_a', fn);

// e.g. replace '$' sign with 'EUR'
$('input.foo').bind('keyup.$', function(){
 this.value = this.value.replace('$', 'EUR');

Supported types are 'keydown', 'keyup' and 'keypress'

More details: https://github.com/tzuryby/jquery.hotkeys#readme

There are no supported framework assets in this package.

Learn more about Target Frameworks and .NET Standard.

NuGet packages

This package is not used by any NuGet packages.

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last updated 84,194 1/2/2014
0.8.0 8,724 11/27/2012