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

composedPath

Description

The composedPath of Event for JS returns the invocation target objects of event's path (objects on which listeners will be invoked), except for any nodes in shadow trees of which the shadow root's mode is "closed" that are not reachable from event's currentTarget.

Syntax

event.composedPath()

Examples

1 · dispatch

2 · dispatch · shadow · closed

3 · dispatch · shadow · open

4 · button

5 · button · shadow · closed

6 · button · shadow · open

bubbles

cancelable

composed

currentTarget

defaultPrevented

Event

eventPhase

isTrusted

preventDefault

stopImmediatePropagation

stopPropagation

target

timeStamp

type

Web Hypertext Application Technology Working Group (WHATWG)

HomeMenu