Closed agazso closed 1 month ago
Svelte 5 changes on:click to onclick. There is a good reason to do that. The legacy way still works on html elements for backward compatibility but afaik will be removed.
Thanks, good to know. The plain onclick
worked for me.
This does nothing:
This works: