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

> From what I remember discussing this before one problem with this API is that it does not work with preventDefault(). So if you frequently need to override an action (e.g., link clicks), you can't use this API.

Couldn't this be covered with `EventListenerOptions options`?

```js
element.on('click', { preventDefault: true })
  .filter(/* ... */)
  // etc.
```

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

Received on Wednesday, 13 December 2017 15:26:59 UTC