- From: Xidorn Quan <notifications@github.com>
- Date: Sat, 24 Sep 2016 07:44:08 -0700
- To: whatwg/dom <dom@noreply.github.com>
Received on Saturday, 24 September 2016 14:44:36 UTC
We now have `once` option in `AddEventListenerOptions`, but wouldn't it be more convenient if there is a Promise-based API for that? Probably something like ```text partial interface EventTarget { Promise<Event> on(DOMString type, optional EventListenerOptions options); } ``` and let it behave like `AddEventListenerOptions.once`? -- 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/333
Received on Saturday, 24 September 2016 14:44:36 UTC