- From: smaug---- <notifications@github.com>
- Date: Fri, 06 Apr 2018 15:50:00 +0000 (UTC)
- To: whatwg/dom <dom@noreply.github.com>
- Cc: Subscribed <subscribed@noreply.github.com>
Received on Friday, 6 April 2018 15:50:26 UTC
Not always. While events are being handled, window.event returns the Event object. `data:text/html,<script>window.event = "value before event dispatch"; window.addEventListener("foo", function(e) { console.log("window.event in event listener: " + window.event); }); window.dispatchEvent(new Event("foo")); console.log("window.event after event dispatch: " + window.event);</script> ` -- 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/334#issuecomment-379295535
Received on Friday, 6 April 2018 15:50:26 UTC