all the elements of event bubbling need to be obtained. In Chrome, event will have path attribute record
but the path, does not find similar properties in Safari and Firefox. Is there any way to get this array?
all the elements of event bubbling need to be obtained. In Chrome, event will have path attribute record
but the path, does not find similar properties in Safari and Firefox. Is there any way to get this array?
the new standard for browsers adopts composedPath
let path = event.path || (event.composedPath && event.composedPath());