📜  控制台记录所有事件 - Javascript 代码示例

📅  最后修改于: 2022-03-11 15:02:43.598000             🧑  作者: Mango

代码示例1
monitorEvents(document.body); //log all events
monitorEvents(document.body, 'mouse'); //log all mouse events