Hi, any way to connect createEventDispatcher in inner/loaded component to the outer world?
I have this in my Options.svelte component:
<Loadable loader={() => import('./Select.svelte')} {element} on:selectionMade={selectionMade}></Loadable>
In this case Select.svelte dispatches selection event, and I'd like to handle it in Options.svelte, but the Loadable doesn't attach the handler to the inner/loaded Select.svelte.
Hi, any way to connect createEventDispatcher in inner/loaded component to the outer world?
I have this in my
Options.sveltecomponent:<Loadable loader={() => import('./Select.svelte')} {element} on:selectionMade={selectionMade}></Loadable>In this case
Select.sveltedispatches selection event, and I'd like to handle it inOptions.svelte, but the Loadable doesn't attach the handler to the inner/loaded Select.svelte.