Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Event handling #20

Merged
merged 12 commits into from
Aug 20, 2022
Merged

Event handling #20

merged 12 commits into from
Aug 20, 2022

Conversation

mattjennings
Copy link
Owner

@mattjennings mattjennings commented Aug 19, 2022

  • allow for events to be dispatched and handled by modal components
  • openModal is now a promise that resolves with the value passed in by closeModal

Resolves #7, #9, #17, #18, #21

openModal is now a promise that resolves with the value passed in by closeModal
@vercel
Copy link

vercel bot commented Aug 19, 2022

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Updated
svelte-modals ✅ Ready (Inspect) Visit Preview Aug 20, 2022 at 7:50PM (UTC)

@mattjennings mattjennings changed the base branch from main to next August 20, 2022 19:50
@mattjennings mattjennings merged commit 2be70f1 into next Aug 20, 2022
@mattjennings mattjennings deleted the feat/event-handling branch August 20, 2022 21:09
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.

Add example showing passing object from modal to component
1 participant