JavaScript for WordPress Forums Vanilla JavaScript Event phases: bubblin', capturin' clarification Reply To: Event phases: bubblin', capturin' clarification

#10388
Zac Gordon
Keymaster

Since capturing happens before bubbling, setting #content to bubbling would have it display after the inner elements, since it bubbles from the inner elements out to the outer.

If #content is set to capturing then it will display first since it is capturing from the outer elements down into the inner.

Does that make more sense?