- From: Steven Lambert <notifications@github.com>
- Date: Thu, 11 Aug 2016 15:56:30 -0700
- To: whatwg/dom <dom@noreply.github.com>
Received on Thursday, 11 August 2016 22:57:08 UTC
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