![]() |
VOOZH | about |
The SVG Event.composed property indicates whether the event will propagate across the shadow DOM boundary into the standard DOM.
Syntax:
const isComposed = Event.composed
Return value: This property returns the boolean value of the event element.
Example 1: In this example, we will use onclick event.
Output:
👁 ImageExample 2: In this example, we will use onclick event.
Output:
👁 ImageExample 3: In this example, we will use onmouseover event.
Output:
👁 ImageExample 4: In this example, we will use onmouseover event.
Output:
👁 Image