composed

composed returns true or false depending on how event was initialized. True if event invokes listeners past a ShadowRoot node that is the root of its target; otherwise false.

Syntax

event.composed

Examples

1

2

3

Internal

bubbles

cancelable

composedPath

currentTarget

defaultPrevented

Event

eventPhase

isTrusted

preventDefault

stopImmediatePropagation

stopPropagation

target

timeStamp

type

External

Web Hypertext Application Technology Working Group (WHATWG)

Home Menu