Jesus · Bible · HTML · CSS · JS · PHP · SVG · Applications

stopPropagation

Description

The stopPropagation of Event for JS when dispatched in a tree, invoking this method prevents event from reaching any objects other than the current object.

Syntax

event.stopPropagation()

Examples

stopImmediatePropagation

bubbles

cancelable

composed

composedPath

currentTarget

defaultPrevented

Event

eventPhase

isTrusted

preventDefault

stopImmediatePropagation

target

timeStamp

type

Web Hypertext Application Technology Working Group (WHATWG)

HomeMenu