Conduitry
883c47b45d
[site] fix escaping in table of compiler options
3 years ago
Bjorn Lu
be1eff0305
[feat] add enableSourcemap option ( #6835 )
3 years ago
Mohamed Haddi
0d7c583364
[docs] align input controls ( #6831 )
4 years ago
DoctorNefario
55130be026
[docs] use 'transition' directive for custom JS transitions ( #6796 )
...
This prevents transition jumping when visibility is repeatedly toggled
4 years ago
Ben McCann
547fbc6ebd
[docs] what is rendered when for #await ( #6788 )
4 years ago
Daniel Sandoval
54ba76c1f0
[docs] "What's new in Svelte" October newsletter ( #6774 )
...
Co-authored-by: Ben McCann <322311+benmccann@users.noreply.github.com>
Co-authored-by: Bjorn Lu <34116392+bluwy@users.noreply.github.com>
Co-authored-by: Simon H <5968653+dummdidumm@users.noreply.github.com>
4 years ago
zhoulixiang
e82cf3f6d7
[docs] update links to babeljs.io and buble.surge.sh to use https ( #6787 )
4 years ago
zhoulixiang
ca94762fe9
[docs] update link to rollup.org to use https ( #6781 )
4 years ago
Simon H
88204355d3
[docs] clarify readable callback timing ( #6725 )
...
#6724
4 years ago
Geoff Rich
7e156c014e
[docs] document details binding ( #6700 )
4 years ago
João Paulo
0027a41934
[docs] Fix typo in $$slots docs ( #6709 )
4 years ago
mellanslag-de
4f9a260ab1
[fix] Update outdated line number in tutorial text ( #6689 )
4 years ago
gunggmee
dc11e4487e
[docs] Fix a minor bug in binding tutorial ( #6698 )
...
To calculate y coordinate of `imageData`, we should divide the index with
`canvas.width` not with `canvas.height`. The current code works because the
shape of canvas is square.
4 years ago
Daniel Sandoval
4d30ef34e3
[docs] "What's new in Svelte" September newsletter ( #6691 )
4 years ago
Andrey Bienkowski
5a9cb770d8
[docs] Promote prettier-plugin-svelte ( #6695 )
4 years ago
duarte-pompeu
8d3f4512f6
[docs] Fix the speed of the typewriter example to scale correctly ( #6568 )
4 years ago
Shinobu Hayashi
5df60e75a7
chore(docs): update Component-format script-markup-style order ( #6682 )
4 years ago
Geoff Rich
71cf6002f4
[docs] fix css in js embed ( #6669 )
...
pin emotion version to keep this from happening again
4 years ago
fsinn
e5c04bfd2f
docs: Selecting multiple elements in <select multiple> on MacOS with command key ( #6636 )
4 years ago
James Pickard
d85ac7eaa6
[docs] clarify reactivity tutorial text ( #6628 )
4 years ago
Ben McCann
268bc71724
Replace sveltejs/integrations with sveltesociety.dev ( #6626 )
4 years ago
Tommy Groshong
a232d68a41
docs: small spelling fixes in docs and comments ( #6653 )
4 years ago
Diego Ramos
d26c48a518
[docs] disable text select on falling emojis ( #6654 )
4 years ago
pngwn
db3101fa24
docs: fix heading levels ( #6655 )
4 years ago
Conduitry
1c58fa91cc
[docs] various adjustments to template syntax docs ( #6619 )
4 years ago
Tan Li Hau
ce550adef6
[feat] allow use:actions on <svelte:body> ( #6608 )
4 years ago
Samuel Plumppu
172f294cb6
docs: Fix property name typo for event.isTrusted ( #6596 )
4 years ago
Daniel Sandoval
b554e343e8
[docs] "What's new in Svelte" August newsletter ( #6604 )
4 years ago
Dennis Dudek
a3fb765d6f
[docs] add trusted modifier to list of modifiers in tutorial and docs ( #6566 )
4 years ago
Konstantin BIFERT
18780fac00
[docs] replace shift by the correct key to hold: control ( #6573 )
4 years ago
Stephane
63f592e713
[docs] Add clarification about reactivity and arrays ( #6547 )
4 years ago
Hofer Ivan
5cfefeb6e7
support rendering components in a shadow dom ( #5870 )
4 years ago
Tan Li Hau
222a9dd2c6
[feat] get all contexts ( #6528 )
...
* get all contexts
* docs
* explicit return type
* allow specifying return type through generic parameter
* Update site/content/docs/03-run-time.md
Co-authored-by: Ben McCann <322311+benmccann@users.noreply.github.com>
Co-authored-by: Simon H <5968653+dummdidumm@users.noreply.github.com>
Co-authored-by: Ben McCann <322311+benmccann@users.noreply.github.com>
4 years ago
Maxime LUCE
0cf5511ae0
[feat] Add errorMode option to compile to allow continuing on errors (and mark them as warnings) ( #6194 )
...
This PR adds a new option errorMode to CompileOptions to allow continuing the compilation process when errors occured.
When set to warn, this new option will indicate to Svelte that it should log errors as warnings and continue compilation.
This allows (notably) preprocessors to compile the markup to detect vars in markup before preprocessing (in this case: script and style tags are stripped so it can produce a lot of errors).
This PR is part of a work on the svelte-preprocess side to improve the preprocessing of TypeScript files: https://github.com/sveltejs/svelte-preprocess/issues/318
- allow compiler to pass error as warnings
- enforce stops after errors during compilation (for type-checking, TS doesn't know the error method throws)
- should review Element.ts:302
- added a test case for errorMode
- added documentation
4 years ago
Simon H
931738e821
[docs] mention that afterUpdate runs after onMount
...
Closes #4273
4 years ago
Ashish Kapoor
ddde34aeb9
[docs] Multi select works by pressing and holding shift key ( #6532 )
...
For better understanding.
4 years ago
Simon H
53e0754d3b
[docs] remove unnecessary immutable option from App.svelte
...
Closes #5976
4 years ago
Simon H
937c7c9c4a
[docs] document $store behavior more explicitely
...
Closes #4677
4 years ago
David Dawkins
e7cbea64e0
[docs] fix padding in svg bar chart example ( #5945 )
...
Fixes #5941
4 years ago
Ignatius Bagus
5334f4ad1b
docs: mention usage of regexp literal in text expressions ( #5640 )
4 years ago
Conduitry
64c162c6b7
docs: adjust formatting in compiler options table
4 years ago
Geoff Rich
2842227cf0
docs: fix heading level a11y issue ( #5679 )
4 years ago
Eirik Vågeskar
854a7de451
[docs] Add tutorial step for key blocks ( #6420 )
4 years ago
decaylala
8457a73cef
[docs] adjust function name ( #6495 )
4 years ago
Geoff Rich
a35506b5eb
[docs] update a11y docs ( #6487 )
4 years ago
Joakim Berglund
ecc3c08999
Trackpad and touch support in media example ( #5912 )
4 years ago
Jatin Hemnani
c4f4a3dc2e
[docs] added transition on toggling folder in tutorial ( #6453 )
4 years ago
Odee
287cccc450
[docs] Update auto-subscriptions tutorial to explicitly say that subscribe returns unsubscribe ( #6448 )
4 years ago
Daniel Sandoval
a6fbf7faf5
[docs] "What's new in Svelte" July newsletter ( #6459 )
4 years ago
Lukas Möller
2a9f9d7bb0
Remove unused toggle prop from example ( #5124 )
4 years ago