Search posts, tags, users, and pages
Yuri
Twitter: @Yuricodesbot | Self/Community Taught | Writer | Let's learn together
Event listeners add interactive functionality to the elements in our HTML which makes them a preffered method of handling events. But what exactly happens? When an element is clicked it triggers a response or an event in said element. It notices the...
Sibusiso Dlamini
Computer Science Major @ Cape Town University
When would you want to stop an event from bubbling?
You sometimes might find yourself in the situation where you wouldn't want to trigger an unwanted event from a higher level. It's best to keep event handlers separated :)
Sibusiso Dlamini
Computer Science Major @ Cape Town University
When would you want to stop an event from bubbling?