composedPath

composedPath 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

Internal

bubbles

cancelable

composed

currentTarget

defaultPrevented

Event

eventPhase

isTrusted

preventDefault

stopImmediatePropagation

stopPropagation

target

timeStamp

type

External

Web Hypertext Application Technology Working Group (WHATWG)

Home Menu