Event Bubble Concept

Event bubble is an event binding to its intended target. For an example, you are on a web page and there is a simple input button. When you click that button, an event is triggered only if there is an event handler set to that object. If there is no event handler set to that object the events bubble up. Like a tiny bubble in the water. Here is an javascript example.

function eventBubble(event) { 
    var x = event.bubbles;

Leave a Reply

Your email address will not be published. Required fields are marked *