Nayan Gautam
990c21f7f3
[docs] Replace double tildes with Math.trunc in tutorials ( #6880 )
...
Using double tildes for truncating fractional numbers isn't readable for people who haven't encountered it before
3 years ago
Ben McCann
b8efbb4cca
[docs] convert spaces to tabs
3 years ago
gunggmee
64435d1553
[docs] remove confusing assignment from stores tutorial ( #6867 )
...
Tutorial on writable stores contains unexplained and unused assignment
which might cause confusion.
Proper explanations on `unsubscribe` is in the next step of the tutorial.
3 years ago
Mohamed Haddi
0d7c583364
[docs] align input controls ( #6831 )
3 years ago
DoctorNefario
55130be026
[docs] use 'transition' directive for custom JS transitions ( #6796 )
...
This prevents transition jumping when visibility is repeatedly toggled
3 years ago
mellanslag-de
4f9a260ab1
[fix] Update outdated line number in tutorial text ( #6689 )
3 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.
3 years ago
duarte-pompeu
8d3f4512f6
[docs] Fix the speed of the typewriter example to scale correctly ( #6568 )
3 years ago
fsinn
e5c04bfd2f
docs: Selecting multiple elements in <select multiple> on MacOS with command key ( #6636 )
3 years ago
James Pickard
d85ac7eaa6
[docs] clarify reactivity tutorial text ( #6628 )
3 years ago
Ben McCann
268bc71724
Replace sveltejs/integrations with sveltesociety.dev ( #6626 )
3 years ago
Diego Ramos
d26c48a518
[docs] disable text select on falling emojis ( #6654 )
3 years ago
Samuel Plumppu
172f294cb6
docs: Fix property name typo for event.isTrusted ( #6596 )
3 years ago
Dennis Dudek
a3fb765d6f
[docs] add trusted modifier to list of modifiers in tutorial and docs ( #6566 )
3 years ago
Konstantin BIFERT
18780fac00
[docs] replace shift by the correct key to hold: control ( #6573 )
3 years ago
Ashish Kapoor
ddde34aeb9
[docs] Multi select works by pressing and holding shift key ( #6532 )
...
For better understanding.
3 years ago
Eirik Vågeskar
854a7de451
[docs] Add tutorial step for key blocks ( #6420 )
3 years ago
decaylala
8457a73cef
[docs] adjust function name ( #6495 )
3 years ago
Joakim Berglund
ecc3c08999
Trackpad and touch support in media example ( #5912 )
3 years ago
Odee
287cccc450
[docs] Update auto-subscriptions tutorial to explicitly say that subscribe returns unsubscribe ( #6448 )
3 years ago
Caleb Chiesa
98ece151b3
Fix typo in stores tutorial ( #6461 )
3 years ago
fivem
bca46b9f70
tutorial: In the onDestroy example, explicitly show the memory leak ( #5515 )
3 years ago
The Jared Wilcurt
7115601cd3
Docs: Accurately name function ( #4060 )
3 years ago
Simon Scharf
f99deeb67b
docs: remove type property from special elements tutorial ( #4715 )
...
Instead, determine type based on the existence of the files property. Removes console warnings
3 years ago
Stephane
f9b796cabe
Add tutorial for component binding ( #5009 )
...
Closes #5008
Co-authored-by: Stephane Vanraes <stephane.vanraes@fjordline.com>
Co-authored-by: pngwn <pnda007@gmail.com>
3 years ago
Outvi V
92422fdee2
doc: Add notes to stress call-context-during-initialisation ( #5631 )
3 years ago
Nguyễn Đức Hào
0f92863033
tutorial: add name attribute to inputs ( #5649 )
3 years ago
Aswin Vayiravan
4b4717b351
Reorder text area and output to improve visibility ( #5790 )
3 years ago
Ersin Ertan
0e1d54efdf
Add Vite to intro's officially maintained plug-ins ( #6446 )
3 years ago
Debargha Roy
8f6bb14e69
Minor update to svelte:body-tutorial ( #6376 )
...
Switch style/html order
3 years ago
Andrew Lee
791104d9fe
Adjust store unsubscribe tutorial section ( #5975 )
...
The `unsubscribe` function in the first step was without any usage, which lead to confusion
3 years ago
Kai
1a1f36edcf
Tutorial: Description fix - each block bindings ( #5974 )
...
The chapter highlights event binding in `each` block which is missing within the snippet. Thus it seems reasonable to include it within the description snippet block.
4 years ago
Bashu Naimi-Roy
8184bd5219
docs: update Keyed Each Blocks tutorial ( #6358 )
4 years ago
Adam Alexander
3301b09619
Fix tutorial instructions refer to wrong line number in code ( #6342 )
...
Instructions refer to wrong line number
Video element is not on line 116, it's on line 58
4 years ago
Ajit Krishna
b11f5b12f5
Update <svelte:options> copy ( #6339 )
...
<svelte:options> is not the last lesson in "Special Elements"
4 years ago
Lawrence Logoh
58b897fc83
updated select-bindings text.md ( #6333 )
...
Referenced line is now 20 instead of 24
4 years ago
Walker Lockard
19e4a4fdf3
Update tutorial text.md ( #6329 )
...
The component referenced in text.md is no longer on line 33 of the provided code.
4 years ago
Alex Iglesias
341160f782
[Tutorial] Update Chapter 19 to reference SvelteKit ( #6284 )
4 years ago
BabakFP
ec2540787a
Changing tutorial/example order from script-style-html to script-html-style ( #6213 )
...
Also change button style in one tutorial
4 years ago
Mauricio Paternina
27234275c0
tutorial: fix custombutton colors for a11y contrast ( #6212 )
4 years ago
Peter Boling
5ba7d35921
site: improve grammar in tutorial comment ( #6156 )
4 years ago
Mark A Shuttleworth
e84e356ca5
site: fix grammatical issue in tutorial/update ( #6136 )
4 years ago
Stephane
47e1eeed56
Add documentation and tutorial for svelte:fragment ( #6097 )
4 years ago
Alexis Ménard
ebbdb4277c
Tutorial : a better explanation of component events ( #4639 )
...
* feat(tutorial): better explanation of component events
Co-Authored-By: Antony Jones <ant@enzy.org>
4 years ago
Aswin Vayiravan
76d4580bcc
Changing hex codes to colour names to improve readability of the tutorial. ( #5761 )
4 years ago
fivem
ddd79e3f9d
tutorial: remove unneccessary performance.now() call inside raf ( #5513 )
4 years ago
Cameron Messinides
169fd8497c
docs: add documentation for $$slots ( #5277 )
4 years ago
Irshad Ali
f3adbb2679
docs: fix a11y warning in media elements tutorial ( #5523 )
4 years ago
Daniel Power
379a4454c1
tutorial: move function declaration before reference ( #5491 )
4 years ago
Tan Li Hau
a1651ca271
add nonpassive event modifier ( #5442 )
...
Co-authored-by: filipot <filipot@stud.ntnu.no>
4 years ago