- From: MichaelPeter <notifications@github.com>
- Date: Tue, 10 Nov 2020 03:19:41 -0800
- To: WICG/webcomponents <webcomponents@noreply.github.com>
- Cc: Subscribed <subscribed@noreply.github.com>
Received on Tuesday, 10 November 2020 11:19:53 UTC
Hello all, it would save a lot of work if I could add event handlers this way. Also in regard to third party frameworks like Blazor, Angular, Vue etc. `<my-component onmycustomevent="(function()(e) => alert(`MyEventValue: ${e.detail.myeventvalue}`))();></my-component>` Instead of having to define the eventhandler always in javascript with `component.addEventListener()` -- You are receiving this because you are subscribed to this thread. Reply to this email directly or view it on GitHub: https://github.com/WICG/webcomponents/issues/908
Received on Tuesday, 10 November 2020 11:19:53 UTC