Re: [whatwg/dom] Proposal to improve the DOM creation api (#150)

The proposal only dealt with the creation of DOM. Adding event listeners can still be done through the normal ways once the DOM is created.

```js
var dom = html`<div>
  <button></button>
</div>`

dom.querySelector('button').addEventListener('click', function() { /* ... */ });
```

-- 
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/150#issuecomment-239318190

Received on Thursday, 11 August 2016 22:57:08 UTC