stopImmediatePropagation()

An event method that stops the event travelling further and also skips any remaining listeners on the current element.

In more detail

It also stops the event from travelling to other elements, like stopPropagation. Listeners on one element run in the order they were added, so this only affects those added after the current one.

Related terms

Taught in

References