标签:
element.addEventListener(event, function, useCapture)
useCapture:
-
- true - The event handler is executed in the capturing phase
- false- Default. The event handler is executed in the bubbling phase
Test Demo:
The differences between capturing and bubbling
标签:
原文地址:http://www.cnblogs.com/kkcodin/p/5485617.html