- From: Jafar Husain <notifications@github.com>
- Date: Wed, 13 Dec 2017 17:03:17 +0000 (UTC)
- To: whatwg/dom <dom@noreply.github.com>
- Cc: Subscribed <subscribed@noreply.github.com>
Received on Wednesday, 13 December 2017 17:04:09 UTC
@annevk concerns about the ability to call preventDefault() when using Promise returning methods are valid. Mutation use cases could be addressed with a ~do~ method which allows side effects to be interleaved. ~~~js button.on(“click”).do(e => e.preventDefault()).first() ~~~ This method is included in most userland Observable implementations. -- 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-351455482
Received on Wednesday, 13 December 2017 17:04:09 UTC