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

Popup events #130

Merged
merged 3 commits into from
Mar 2, 2024
Merged

Popup events #130

merged 3 commits into from
Mar 2, 2024

Conversation

singingwolfboy
Copy link
Contributor

This adds on:open and on:close events to the Popup class, and an example for how they might be used. I also took the opportunity to add Typescript annotations to the dispatched events for some of the other components in this project, as well.

Copy link

vercel bot commented Feb 27, 2024

Someone is attempting to deploy a commit to a Personal Account owned by @dimfeld on Vercel.

@dimfeld first needs to authorize it.

Copy link

changeset-bot bot commented Feb 27, 2024

🦋 Changeset detected

Latest commit: 7b069dd

The changes in this PR will be included in the next version bump.

This PR includes changesets to release 1 package
Name Type
svelte-maplibre Minor

Not sure what this means? Click here to learn what changesets are.

Click here if you're a maintainer who wants to add another changeset to this PR

Copy link
Owner

@dimfeld dimfeld left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I'll take a closer look tonight but but at first glance this looks great. Thanks!

@@ -0,0 +1,18 @@
import { json } from '@sveltejs/kit';
Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Could you make this a Vercel edge function as detailed at https://kit.svelte.dev/docs/adapter-vercel#deployment-configuration?

Since edge functions are billed for CPU time, not clock time, it will help prevent unexpected billing surprises if a lot of people unexpectedly start hitting this page.

Copy link

vercel bot commented Mar 2, 2024

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

Name Status Preview Comments Updated (UTC)
svelte-maplibre ✅ Ready (Inspect) Visit Preview 💬 Add feedback Mar 2, 2024 8:54pm

@dimfeld dimfeld merged commit d464803 into dimfeld:master Mar 2, 2024
1 of 2 checks passed
@dimfeld
Copy link
Owner

dimfeld commented Mar 2, 2024

New release going out tonight. 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.

None yet

2 participants