DevilRoshan / Question

前端问题解决
0 stars 0 forks source link

[Daily]我们给一个dom同时绑定两个点击事件,一个用捕获,一个用冒泡。会执行几次事件,会先执行冒泡还是捕获? #56

Closed DevilRoshan closed 4 years ago

DevilRoshan commented 4 years ago

我们给一个dom同时绑定两个点击事件,一个用捕获,一个用冒泡。会执行几次事件,会先执行冒泡还是捕获?

DevilRoshan commented 4 years ago

https://github.com/DevilRoshan/Question/blob/master/20200627-js-capture-bubble.md