【文件属性】:
文件名称:js事件绑定快捷键以ctrl+k为例
文件大小:20KB
文件格式:PDF
更新时间:2020-12-11 22:09:51
c ctr ctrl
js代码
<html>
<head>
[removed]
[removed]=function(){
HotKeyHandler.Init();
}
var HotKeyHandler={
currentMainKey:null,
currentValueKey:null,
Init:function(){
HotKeyHandler.Register(0,"K",function(){alert("注册成功");});
},
Register:function(tag,value,func){
var MainKey="";
switch