2022年5月20日

js捕获鼠标事件、键盘事件

摘要: window.onload=function(){ document.onmousedown=function(event) { console.log('按下') console.log(event.altKey) } document.onmouseup=function(event) { co 阅读全文

posted @ 2022-05-20 09:00 liuhao1992 阅读(793) 评论(0) 推荐(0) 编辑

导航