Re: [w3c/webcomponents] Event retargetting in layman's terms? (#528)

Yeah, that's the intent of even retargeting; encapsulating the implementation details of components to component users by adjusting `event.target`.

Some JS frameworks, etc... may need to know the original node from which an event was dispatched to provide fancy inter-component communication / debugging tools.  `Event.prototype.composedPath()` was added for that purpose for example.

---
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/w3c/webcomponents/issues/528#issuecomment-233215621

Received on Monday, 18 July 2016 01:24:17 UTC