在线时间:8:00-16:00
迪恩网络APP
随时随地掌握行业动态
扫描二维码
关注迪恩网络微信公众号
开源软件名称:tzuryby/jquery.hotkeys开源软件地址:https://github.com/tzuryby/jquery.hotkeys开源编程语言:JavaScript 100.0%开源软件介绍:#About 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: jQuery.hotkeys The syntax is as follows:
TypesSupported types are NotesIf you want to use more than one modifiers (e.g. ctrl+alt+z) you should define them by an alphabetical order e.g. Hotkeys aren't tracked if you're inside of an input element (unless you explicitly bind the hotkey directly to the input). This helps to avoid conflict with normal user typing. All keys that have special meaning in RegExp strings (
jQuery CompatibilityWorks with jQuery 1.4.2 and newer. It known to be working with all the major browsers on all available platforms (Win/Mac/Linux)
AddendumFirefox is the most liberal one in the manner of letting you capture all short-cuts even those that are built-in in the browser such as Others, (IE) either let you handle built-in short-cuts, but will add their functionality after your code has executed. Or (Opera/Safari) will not pass those events to the DOM at all. So, if you bind |
2023-10-27
2022-08-15
2022-08-17
2022-09-23
2022-08-13
请发表评论