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

See https://gist.github.com/annevk/4475457 where I had the idea of adding an `ignoreBubbles` member that would basically cause the "bubbles" attribute to be ignored during dispatch (we would have to move where we check the bubbles attribute, but that seems fairly doable).

The combination of `ignoreBubbles` and `matches` would then enable event delegation as desired.

I was thinking `matches` would just filter on `event.target`, but I might be missing a subtlety.

(Thanks for raising this!)

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

Received on Monday, 11 April 2016 18:06:48 UTC