Skip to content

Conversation

bsparks
Copy link

@bsparks bsparks commented Oct 16, 2020

this will allow via configuration the addition of custom events that can be fired outside of the Preact world and consumed by the host page. they include a callback in the event payload in case you want async events (like if you let the host page take care of server calls by request from the component)

@jaydeep987
Copy link

this is must have feature. I wonder why is this not merged even after almost a year?

@havran
Copy link

havran commented Mar 14, 2022

Hi, any further work here? This seems like something which should works, when we want use addEventListener and listen events emited inside custom element. Thanks.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants