Forum Replies Created

Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • bruno
    Participant

    I think it starts to be clear

    So if we have another event listener on the body for example, we can be notified when the capturing phase or bubbling phase came across the body element?

    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!

    bruno
    Participant

    Tx!

    I have another question!

    I’m trying to comprehend the event propagation, and I have like a conceptual question:

    I understand what is happening with the capturing and bubbling phase, what I don´t fully understand is what we are doing on the 3º parameter on the addEventListener method like:

    el.addEventListener( 'click', theFunc, false);
    el.addEventListener( 'click', theFunc, true);

    when we set false, or true on that parameter, what we are saying is basically “how the notification of the event will occur, if after or before the event target happens?”

    something like that? Maybe it’s a messy quesiton, and I´m not doing it correctly, let me know.

    in reply to: Subtitles? #24443
    bruno
    Participant

    Tx Zack, I totally understand that it is not a proprity, just to let you know, i found a video from wistia(i think it’s the video app that you are using) about how to get the youtube automatic translations.

    Maybe this helps, or at least it’s one idea

    tx, and keep all the good work!

Viewing 4 posts - 1 through 4 (of 4 total)