You also want an ePaper? Increase the reach of your titles
YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.
• Event objects are dispatched to an event target<br />
Events PROPAGATION<br />
1<br />
window<br />
1<br />
1<br />
• At the begin of the dispacth, browser must determine the propagation path for the event<br />
2<br />
document<br />
1<br />
0<br />
• A hierarchical list of dom nodes through which the event must pass<br />
3<br />
<br />
9<br />
• Propagation path is divided in 3 phases:<br />
1. Capture<br />
2. Target<br />
3. Bubble<br />
4<br />
5<br />
<br />
<br />
8<br />
7<br />
• You can customize the event handler routine according to the event.phase<br />
6<br />
<br />
• You cannot alter the propagation path after the event has fired, even if some nodes are removed<br />
or DOM tree is modified making the propagation non continuable<br />
capture<br />
bubble<br />
target