Re: [WICG/webcomponents] CustomEvents Add Event Handler in Html (#908)

So I found out LitElement supports this, there you can subscribe to normal and custom events this way:

```<my-component @my-event="(e) => alert(e.detail.text)"></mycomponent>```

-- 
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#issuecomment-727039815

Received on Friday, 13 November 2020 21:17:46 UTC