The bubbles read-only property of the Event interface indicates whether the event bubbles up through the DOM or not.

Note: See Event bubbling and capture for more information on bubbling.


var doesItBubble = event.bubbles;


A Boolean, which is true if the event bubbles up through the DOM.


function handleInput(e) {
  // Checks whether the event bubbles and ...
  if (!e.bubbles) {
    // ... passes the event along if does not

  // Already bubbling

Note: Only certain events can bubble. Events that do bubble have this property set to true. You can use this property to check if an event is allowed to bubble or not.


Specification Status Comment
The definition of 'Event.bubbles' in that specification.
Living Standard
Document Object Model (DOM) Level 2 Events Specification
The definition of 'Event.bubbles' in that specification.
Obsolete Initial definition.

Browser compatibility

Update compatibility data on GitHub
ChromeEdgeFirefoxInternet ExplorerOperaSafariAndroid webviewChrome for AndroidFirefox for AndroidOpera for AndroidSafari on iOSSamsung Internet
bubblesChrome Full support YesEdge Full support 12Firefox Full support YesIE ? Opera Full support YesSafari Full support YesWebView Android Full support YesChrome Android Full support YesFirefox Android Full support YesOpera Android Full support YesSafari iOS Full support YesSamsung Internet Android Full support Yes


Full support  
Full support
Compatibility unknown  
Compatibility unknown

See also

  • stopPropagation() to stop bubbling the event
  • stopImmediatePropagation() to not call any further listeners for the same event at the same level in the DOM
  • preventDefault() to allow propagation to continue but to disallow the browser to perform its default action should no listeners handle the event