Re: [whatwg/dom] Removing event listeners through an identifier (#208)

More issues with multi-group support :-/.

```js
el.addEventListener("type", cb, { groups: ["a"] });

// Should presumably not add twice, just like if neither call had a groups option:
el.addEventListener("type", cb, { groups: ["a"] });

// But what should this do?
el.addEventListener("type", cb, { groups: ["a", "b"] });
```

This multi-groups piece is turning a simple feature into something not-so-simple, so now I am not as sure this feature is worth adding. (It's starting to fail on the cost/benefit axis discussed above.)

How important is multi-group support, do people think? Web developer perspectives appreciated.

-- 
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-311494852

Received on Tuesday, 27 June 2017 21:44:10 UTC