摘要: button.addEventListener( 'click', (event) => { console.log('listener 1') queueMicrotask(() => { console.log('microtask') }) } ) button.addEventListene 阅读全文
posted @ 2023-06-02 20:59 Zhentiw 阅读(9) 评论(0) 推荐(0) 编辑
摘要: You can use getEventListeners(button)directly inside chrome devtool, but not inside application code. You can use monitorEvents(button, 'keydown'), no 阅读全文
posted @ 2023-06-02 20:51 Zhentiw 阅读(5) 评论(0) 推荐(0) 编辑