- From: Joshua Peek <notifications@github.com>
- Date: Mon, 11 Apr 2016 10:48:32 -0700
- To: whatwg/dom <dom@noreply.github.com>
Received on Monday, 11 April 2016 17:48:59 UTC
Event delegation is a common feature of most framework's event handling libraries. It'd be rad if it was standard in DOM events. ``` js obj.addEventListener('click', ..., { matches: ".foo" }) ``` Things to figure out: * How `event.target` and `event.currentTarget` should be behave in this case. And if there should be a third `event.delegateTarget`. * How delegated event handlers would be invoked in respect to `bubbles: false` https://twitter.com/annevk/status/719534820569804800 - CC: @annevk References: #207 #208 --- 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
Received on Monday, 11 April 2016 17:48:59 UTC