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

Events not handled since Svelte 5 #44

Open
jzck opened this issue Dec 27, 2024 · 0 comments
Open

Events not handled since Svelte 5 #44

jzck opened this issue Dec 27, 2024 · 0 comments

Comments

@jzck
Copy link

jzck commented Dec 27, 2024

<Marker {latLng} events={['click']} on:click={console.log('hello')}>
    <Tooltip>hello</Tooltip>
</Marker>

Versions used:

"svelte": "^5.16.0",
"leaflet": "^1.9.4",
"svelte-leafletjs": "^2.0.0"

The console is just giving me:

wrong listener type: string
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

No branches or pull requests

1 participant