- From: Jonathan Neal <notifications@github.com>
- Date: Thu, 27 Jul 2017 13:06:25 +0000 (UTC)
- To: whatwg/dom <dom@noreply.github.com>
- Cc: Subscribed <subscribed@noreply.github.com>
Received on Thursday, 27 July 2017 13:07:05 UTC
Oh! I must not be developing as folks expect. I use custom events all the time in components I write, whether it’s a carousel firing a `changeslide` event, or a global menu firing an `openmenu` event. I use `CustomEvent` for all of these things. I don’t use other classes because I am not pretending to be other kinds of event, like `MouseEvent`, `KeyboardEvent`, etc. What you’re saying about testing code paths seems like a different use case. Is what I’m doing rare / wrong / not best practice? -- 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/483#issuecomment-318356041
Received on Thursday, 27 July 2017 13:07:05 UTC