event.stopImmediatePropagation

Summary

Prevents other listeners of the same event to be 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