composed

The composed JS Event 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 · false

2 · true

3 · dispatch · false

4 · dispatch · true

5 · button · false

6 · button · true

bubbles

cancelable

composedPath

currentTarget

defaultPrevented

Event

eventPhase

isTrusted

preventDefault

stopImmediatePropagation

stopPropagation

target

timeStamp

type

Web Hypertext Application Technology Working Group (WHATWG)

Home Menu