JavaScript for WordPress › Forums › Vanilla JavaScript › 1.4.6 – Event Propagation – Simple question about .id › Reply To: 1.4.6 – Event Propagation – Simple question about .id
May 17, 2017 at 6:38 pm
#27581
bruno
Participant
Another quesiton:
In the image at the video, it shows all the process of the capturing and bubbling phases
In the example with the code, it shows that the event phases starts at the parent element.
So the first image that starts the capturing and bubbling phase, and has the window object confuse me a little bit.
So when we are going to capture the event, were did it start? at the parent element, or at the window object?
Tx, I´m really enjoying the course, and learning a lot!