Re: [whatwg/dom] Event delegation via EventListenerOptions (#215)

Interesting. That snippet seems to set `delegateTarget` to `event.currentTarget` (the callback this value) and `currentTarget` to the object you're most likely interested in. Would it not make more sense to name them the other way around? We could even change the callback this value to match currentTarget since the filtering will happen before the listener is invoked. Not entirely sure what's most desirable.

Would love your input on the details and also from @wycats if he can find the time.

---
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/whatwg/dom/issues/215#issuecomment-208882370

Received on Tuesday, 12 April 2016 12:36:57 UTC