.stopPropagation()

Term side of the Card
Topic: Event
Unit title: .stopPropagation()
Categories: Method
Explanation side of the Card

Explanation: The browser API method that prevents the event from continuing to bubble up the DOM tree. It stops the event from reaching other elements that have event listeners for the same event type.

Browser compatibility:
  • The chrome browser supports this feature starting from version 1
  • The edge browser supports this feature starting from version 12
  • The firefox browser supports this feature starting from version 1
  • The safari browser supports this feature starting from version 1
Availability: