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

#10651
Zac Gordon
Keymaster

Hey Vincent!

You completely got it 🙂 Your thought on the event starting at the target is quite common, but you are correct that the event starts at the document root and captures down first before bubbling back up from the event.

Glad you’ve got it now 🙂