Sign inSign up

jQuery Key Combination Wrapper

Add-ons
2026-07-21 12:37 8 views • 0 downloads 1.6KB
jQuery Key Combination Wrapper

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})