For bubbling to work, does the child element even need to have an eventListener on it?

前端 未结 0 720
遇见更好的自我
遇见更好的自我 2021-02-15 08:21

I\'m surprised clicking on a list-item executes the event handler. I presume what\'s happening is a result of bubbling.

相关标签:
回答
  • 消灭零回复
提交回复
热议问题