- From: Rick Byers <notifications@github.com>
- Date: Tue, 12 Apr 2016 11:36:00 -0700
- To: whatwg/dom <dom@noreply.github.com>
Received on Tuesday, 12 April 2016 18:36:27 UTC
@adamdbradley @dtapuska asked that above and @annevk [replied](https://github.com/whatwg/dom/issues/208#issuecomment-207522506) that he thought the group feature was strictly superior to returning a single handle. Any feedback on the differences between those two approaches to the problem? I agree with Anne that using some group identifier (possibly an object, not just a string) is probably easier to manager than having to track an id. If you're going to track an ID anyway, you could just be tracking the callback in the same way. In fact, `addEventListener` could just return an object that contains the `type`, `handler` and `capture` values to be passed to `removeEventListener` later... --- 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/208#issuecomment-209045505
Received on Tuesday, 12 April 2016 18:36:27 UTC