- From: David Khourshid <notifications@github.com>
- Date: Wed, 13 Dec 2017 07:26:32 -0800
- To: whatwg/dom <dom@noreply.github.com>
- Cc: Subscribed <subscribed@noreply.github.com>
Received on Wednesday, 13 December 2017 15:26:59 UTC
> 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