VOOZH about

URL: https://www.geeksforgeeks.org/html/svg-event-composed-property/

⇱ SVG Event.composed Property - GeeksforGeeks


  • Courses
  • Tutorials
  • Interview Prep

SVG Event.composed Property

Last Updated : 30 Mar, 2022

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:

👁 Image

Example 2: In this example, we will use onclick event.

Output:

👁 Image

Example 3: In this example, we will use onmouseover event.

Output:

👁 Image

Example 4: In this example, we will use onmouseover event.

Output:

👁 Image
Comment