Re: [whatwg/dom] Improving ergonomics of events with Observable (#544)

@jhusain it could also be handled with `map`, although it would drive some purists crazy:

```js
button.on('click').map(e => (e.preventDefault(), e)).first()
```

-- 
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/544#issuecomment-351457179

Received on Wednesday, 13 December 2017 17:09:14 UTC