Question · JavaScript and TypeScript course · Module 8: Events and the DOM
Quiz: Event capture
In which phase of the event flow does a listener with { capture: true } option operate?
Answer options
- In the capturing phase - from the root down to the target element
- Only in the target phase - directly on the clicked element
- In the bubbling phase - from the target element upward
- In all three phases simultaneously
You can check the correct answer by solving this task in the CodeWorlds game.