- From: Anne van Kesteren <notifications@github.com>
- Date: Fri, 08 Apr 2016 10:17:06 -0700
- To: whatwg/dom <dom@noreply.github.com>
Received on Friday, 8 April 2016 17:17:33 UTC
@dtapuska it's been a while, but I think the concern with that is having to manage the objects, similar to how the current setup requires holding references to the callback. Having a group feature (suggestion from Twitter as a better name for class) makes this kind of management much simpler. A single widget/component could register dozens of event listeners, all using the widget's name. And then when the widget is removed it simply removes all the event listeners with it, without having to keep track of objects and such. --- 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-207522506
Received on Friday, 8 April 2016 17:17:33 UTC