The click event starts in the capturing phase.
事件从捕获阶段开始。
Basically if you want to stop propagation, you should use the capturing phase.
如果你想停止传播,你应该使用捕获阶段。
The capturing phase is very rarely used, and it can also be computationally intensive. By contrast, bubbling is much more common.
捕获阶段是很少用到的,它也可以是计算密集型。相比之下,冒泡更常见。
The capturing phase is very rarely used, and it can also be computationally intensive. By contrast, bubbling is much more common.
捕获阶段是很少用到的,它也可以是计算密集型。相比之下,冒泡更常见。
应用推荐