We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
原文如下
事件触发一直都是按照:捕获-事件源-冒泡,三个阶段在触发。 只不过 捕获事件 与 冒泡事件 均是针对事件源的所有父元素来定义的。 因此,文中在同一个元素上绑定捕获事件与冒泡事件,并触发了这个元素的事件是没有意义的。 表现出来的效果也就是:触发顺序与绑定顺序相同。 但是当在该元素的子元素上触发一个事件,此时,这个元素的触发顺序自然就是先捕获后冒泡。
The text was updated successfully, but these errors were encountered:
No branches or pull requests
原文如下

事件触发一直都是按照:捕获-事件源-冒泡,三个阶段在触发。
只不过 捕获事件 与 冒泡事件 均是针对事件源的所有父元素来定义的。
因此,文中在同一个元素上绑定捕获事件与冒泡事件,并触发了这个元素的事件是没有意义的。
表现出来的效果也就是:触发顺序与绑定顺序相同。
但是当在该元素的子元素上触发一个事件,此时,这个元素的触发顺序自然就是先捕获后冒泡。
The text was updated successfully, but these errors were encountered: