Event.deepPath

Non-standard
This feature is non-standard and is not on a standards track. Do not use it on production sites facing the Web: it will not work for every user. There may also be large incompatibilities between implementations and the behavior may change in the future.

The deepPath property of the Event interface returns an Array of nodes through which the event bubbled.

It has been replaced with the standard event.composedPath().

Syntax

var nodes = event.deepPath

Value

An Array of nodes.

Specifications

This feature is no longer defined by any specifications.

Browser Compatibility

Feature Chrome Firefox (Gecko) Internet Explorer Opera Safari (WebKit)
Basic support 53.0[1] ? ? ? ?
Feature Android Android Webview Firefox Mobile (Gecko) Firefox OS IE Mobile Opera Mobile Safari Mobile Chrome for Android
Basic support No support 53.0 ? ? ? ? ? 53.0

[1] Chrome has no event.deepPath, but supports event.composedPath() and event.composed since version 53. In Chrome, event.composedPath() works just as event.path, and if event.currentTarget is window, it will only include the window object (no document nodes) before version 55.

Document Tags and Contributors

 Contributors to this page: DomenicDenicola, gdh1995, bunnybooboo, jpmedley
 Last updated by: DomenicDenicola,