svelte-modals
svelte-modals copied to clipboard
Emit events to parent from modal opened using openModal()?
Is it possible to dispatch events from a modal back to the component that called openModal()?
For example:
const handleClick = () => {
openModal(ListingModal, on:eventDisaptch={handleEvent});
};