.composedPath()
Term side of the Card
Topic: Event
Unit title: .composedPath()
Categories: Method
Explanation side of the Card
Explanation: The browser API method that returns an array of objects representing the path the event takes as it bubbles up through the DOM. It includes the event's target and all ancestor elements up to the root.
Browser compatibility:
- The chrome browser supports this feature starting from version 53
- The edge browser supports this feature starting from version 79
- The firefox browser supports this feature starting from version 59
- The safari browser supports this feature starting from version 10
Availability: