jQuery.Hotkeys by John Resig

<PackageReference Include="jQuery.Hotkeys" Version="0.8.0.20131227" />

Package Files

5,480 bytes


Legend

  •  Assembly
  •  Namespace
  •  Class
  •  Interface or Abstract Class
  •  Static Class
  •  Struct
  •  Enum
  •  Delegate
  •  Grayed out == non-public

 jQuery.Hotkeys 0.8.0.20131227

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: http://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'); }); Types Supported types are 'keydown', 'keyup' and 'keypress' More details: https://github.com/tzuryby/jquery.hotkeys#readme

<package xmlns="http://schemas.microsoft.com/packaging/2011/08/nuspec.xsd">
  <metadata>
    <id>jQuery.Hotkeys</id>
    <version>0.8.0.20131227</version>
    <title>jQuery Hotkeys</title>
    <authors>John Resig</authors>
    <owners>John Resig</owners>
    <projectUrl>https://github.com/tzuryby/jquery.hotkeys</projectUrl>
    <requireLicenseAcceptance>false</requireLicenseAcceptance>
    <description>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: http://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');
});

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

More details: https://github.com/tzuryby/jquery.hotkeys#readme</description>
    <summary>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.</summary>
    <releaseNotes>https://github.com/tzuryby/jquery.hotkeys/commits/master</releaseNotes>
    <copyright>2010 John Resig</copyright>
    <tags>jquery hotkey</tags>
    <dependencies>
      <dependency id="jquery" version="1.4.2" />
    </dependencies>
  </metadata>
</package>