Event.stopImmediatePropagation()

Prevents other listeners of the same event from being called.

Syntax

event.stopImmediatePropagation(); 

Notes

If several listeners are attached to the same element for the same event type, they are called in order in which they have been added. If during one such call, event.stopImmediatePropagation() is called, no remaining listeners will be called.

Specification

DOM Level 3 Events: stopImmediatePropagation

Document Tags and Contributors

Last updated by: fscholz,