The answer
Yes. That is one of its major advantages.
Yes. That is one of its major advantages.
It reduces the number of event listeners and improves performance.
Yes. Event delegation relies on event bubbling.
Using event bubbling to handle events for multiple children with a single listener on the parent. When a child is clicked, the event bubbles to the parent, which checks e.target to determine which child was clicked.
Browse all our FAQs or reach out to our support team
Your learning library
Find your next course. Build something great.