You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Think it's due to createEventDispatcher only handling 'svelte' events. if you check the code, you'll notice callbacks to be empty in your usecase.
functioncreateEventDispatcher(){constcomponent=current_component;return(type,detail)=>{constcallbacks=component.$$.callbacks[type];if(callbacks){// TODO are there situations where events could be dispatched// in a server (non-DOM) environment?constevent=custom_event(type,detail);callbacks.slice().forEach(fn=>{fn.call(component,event);});}};}
Uh oh!
There was an error while loading. Please reload this page.
svelte

svelte compile custom web components

react use

but i cant handle custom event [message]
The text was updated successfully, but these errors were encountered: