jQuery Key Combination Wrapper
Add-ons

Plugin Description: Disables the effects of specified key combinations and allows you to define your own key combination to trigger a callback function.
Last Updated: 2020-12-28 08:47:13
Changelog:
Usage:
1 | zuhejian.diaoyong(str,func)=> |
Here, str is the string representing a key combination. Examples: 'q', 'ctrl+q', 'cttl+shift+q'. Supported modifier keys include ctrl, shift, and alt. You must also specify a letter. Otherwise, if any unexpected bugs occur, you'll have to figure out a workaround yourself.
Disable Method:
1 | zuhejian.jinyong(str) |
The input str follows the same format as above.
A reference page is also included!
Release Date: 2020-12-26 09:16:06
The methods are divided into disabling and invoking key combinations. The disable method can be used to disable certain default browser events, but disabling events in your own code may cause bugs. Usage is as follows: Invoke:
1 | zuhejian.diaoyong(str,function(){Method Invocation}) |
评论