Re: [whatwg/dom] [Proposal] Add EventTarget.getEventListeners() (#412)

@strongholdmedia This is entirely inaccurate. You can dispatch events on an object, but doing so requires sending a specifc Event type which would be typesafe; you cannot single out one specific event handler and call that single handler only. And you certainly cannot call this single event handler with for instance a Proxy instead of an Event, that would get out of the function some things that get passed as argument to functions of the event (or event.target or anything the handler could get from the event object).

Also, please consider the credentials of everyone involved in this thread, and pay a little respect. If you have arguments, feel free to make them, we would love to welcome them, but your comments here are hostile for no good reason, and your only response to "please justify yourself" so far has been "I have good reasons, trust me" and, between you and me, that's a terrible way to answer the question. It would be nice if you could stay objective and on track.

-- 
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/412#issuecomment-486427873

Received on Wednesday, 24 April 2019 21:11:29 UTC