stopImmediatePropagation

The stopImmediatePropagation JS Event invoking this method prevents event from reaching any registered event listeners after the current one finishes running and, when dispatched in a tree, also prevents event from reaching any other objects.

Syntax

event.stopImmediatePropagation()

Examples

1 · listener

2 · tree

stopPropagation

bubbles

cancelable

composed

composedPath

currentTarget

defaultPrevented

Event

eventPhase

isTrusted

preventDefault

stopPropagation

target

timeStamp

type

Web Hypertext Application Technology Working Group (WHATWG)

Home Menu