-
-
Notifications
You must be signed in to change notification settings - Fork 4.3k
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
docs: fixes relating to bind:files
& note on FileList
API
#13235
Conversation
|
(Prettier doesn't do anything locally, yet the CI complains. Might be a platform related issue. In any case, at this point this piece of garbage is really wasting my time...) |
Tried running |
Just did to be sure:
|
Guess it did not like how I formatted the code, so now that it's gone linting passed. |
bind:files
& another examplebind:files
& note on FileList
API
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thank you!
Relates to #13156, applies corrections regarding #13230.
If you try to construct a
FileList
you get this, because sometimes the DOM APIs are just 🔥:If this is too much stuff/the example should go elsewhere, I'm happy to revise this as necessary.
(Tried linting, but it's kinda broken for me.)
Output
Svelte 5 rewrite
Please note that the Svelte codebase is currently being rewritten for Svelte 5. Changes should target Svelte 5, which lives on the default branch (
main
).If your PR concerns Svelte 4 (including updates to svelte.dev.docs), please ensure the base branch is
svelte-4
and notmain
.Before submitting the PR, please make sure you do the following
feat:
,fix:
,chore:
, ordocs:
.Tests and linting
pnpm test
and lint the project withpnpm lint