Comments (2)
There is a new syntax with svelte 5 which does these things: https://svelte-5-preview.vercel.app/docs/event-handlers#event-modifiers
It doesn't mean this issue is invalid, but it's good to know if you don't already.
from svelte.
@dummdidumm many many thanks! 🙏
from svelte.
Related Issues (20)
- Svelte 5: Transitioned out elements don't come back in if the transition does not complete HOT 2
- Svelte 5: Double nested component with array bind leads to ownership_invalid_mutation warning
- Suggestion: Warn when <button> or <a> lack inner text, and recommend to add aria-label
- String containing "</script>" inside the script tag of a components breaks Svelte HOT 4
- $derived rune stops working but not if using $inspect() HOT 9
- Svelte 5: The `on` of `svelte/events` is restricted to use with `Element` only HOT 3
- Svelte 5: input value not updated during hydration
- Svelte 5: Customized built-in elements HOT 3
- svelte:head to allow ordering because meta tags are underneath script tags HOT 4
- Keyframes names scoped don't work correct in css nesting HOT 1
- TS EventHandler param type not matches HOT 2
- [email protected] breaks `svelte-check` HOT 1
- Svelte 5: snippets with multiple default values get incorrectly parsed
- Svelte 5: Syntax error on snippets with inline typing with optional properties HOT 3
- Svelte 5: compiler crash when using function in both event handler and markup
- Runes: Add an idiomatic way to clean up side-effects HOT 5
- Setting class $state property in constructor breaks all tracking HOT 15
- Inconsistent behavior of `let` directive in combination with snippets HOT 5
- Svelte 5: `<tr>` is invalid inside `<table>` HOT 2
- Svelte 5: hydration error on each with 0 elements on the server and some elements on the client
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from svelte.