没有任何数据可供显示
| 开源项目社区 | 当前位置 : |
|
| www.trustie.net/open_source_projects | 主页 > 开源项目社区 > js-hotkeys |
|
js-hotkeys
|
| 1 | 0 | 88 |
| 贡献者 | 讨论 | 代码提交 |
概述
Javascript jQuery Hotkeys PluginCross Browser Module (Works with Safari, Opera, Firefox, Chrome and IE)The latest Version is 0.7.8jQuery.Hotkeys plugin lets you easily add and remove handlers for keyboard events anywhere in your code supporting almost any key combination. It takes one line of code to bind/unbind a hot key combination.
Example:Binding 'Ctrl+c'
$(document).bind('keydown', 'ctrl+c', fn);Unbinding 'Ctrl+c'
$(document).unbind('keydown', 'ctrl+c', fn);Known IssuesKeyPress is not working well owe to the fact that keycodes varies between key[down|up] and key press (lower and upper case). see example at Test #6. This should be solved in the next version More infoPublic Git Repository at GitHub Live Demo Read More...
创建时间:2014-05-06 17:21
标签:
