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
4 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
4 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
Cal Jacobson
6c8bd6e5aa
Include link to VS Code extension in tutorial ( #5231 )
4 years ago
lonevox
3255f8b662
site: change "on to" to "onto" in tutorial 03 ( #5386 )
4 years ago
Cam Jackson
80e474a244
site: Replace "active" with "selected" as an example class name ( #5309 )
4 years ago
João Paulo
a0ed7040f1
site: clarify file -> module in <svelte:self> tutorial ( #5171 )
4 years ago
Robert Hall
7fe1384f43
Property "muted" for <audio> and <video> ( #4690 )
...
* Audio two-way `muted` bind property
Loosely based on a37ee81676
?w=1
* Documentation
* fix test
* dont bother coercing muted, it happens automatically
Co-authored-by: Richard Harris <richard.a.harris@gmail.com>
5 years ago
Billy Levin
0cd40b79c8
invalidate -> update ( #4793 )
5 years ago
Daniel Imfeld
a658fedb83
docs/tests: use event.key instead of event.which ( #4758 )
5 years ago
JocelynLi
b3364424d7
docs: tweak tutorial/default-values wording ( #4600 )
5 years ago
Conduitry
0d263cc1ea
docs: use Node.TEXT_NODE in more places
5 years ago
John Abraham
8ddb073199
docs: add note to tutorial on Capitalised component variable names ( #4505 )
5 years ago
Ademola
7be80e96c6
docs: make text node type in example more explicit ( #4663 )
5 years ago
Antony Jones
7831766fa0
site: turn fancybutton into custombutton ( #4476 )
5 years ago
Vulwsztyn
fb6d570b92
tutorial 12.a inconsistency fix
...
Update of tutorial page 12.a making it match with "Show me" result
5 years ago
Rich Harris
193f9e1e1e
Merge pull request #3955 from joncfoo/patch-1
...
Document $: in the tutorial
5 years ago
Rich Harris
ae8684ffff
Update text.md
5 years ago
Conduitry
3d0a5f8c37
site: update links to rollup-plugin-svelte repo
5 years ago
Richard Harris
d1146281ef
only mention official plugins, link to integrations for others. closes #3970
5 years ago
Jonathan Curran
d8e625c439
Document $: in the tutorial
...
This change re-words some of the prose so that the label syntax is spoken of in _unfamiliar_ terms rather than _alien_ as it is valid syntax and not some svelte-specific feature/functionality.
5 years ago
Rich Harris
5721ae3aeb
Merge pull request #3943 from Conduitry/gh-2505
...
site: add font fallback for Comic Sans MS
5 years ago
Rich Harris
a4658e2d42
document new media element bindings
5 years ago
AlexxNB
2285ee222a
fix 'action with param' example and tutorial
5 years ago
Conduitry
78eea640d3
site: add font fallback for Comic Sans MS ( #2505 )
5 years ago
Rich Harris
054f409950
better tutorial for parameterised actions ( #3930 )
...
* better tutorial for parameterised actions
* update example alongside tutorial
* update thumbnail
5 years ago
Richard Harris
1dfd42c3f4
tweak wording
5 years ago
Richard Harris
98c76ec7e8
Merge branch 'master' of https://github.com/SrZorro/svelte into SrZorro-master
5 years ago
Alex Simonides
a83b2fa6d7
#3864 : Update Penner easing functions link ( #3865 )
5 years ago
Fox
b750aaa46d
site/tutorials - Added extra explanation for object reactivity
5 years ago
Leonardo Di Vittorio
1b8a1b22a6
fix: svelte-logo-mask correct file name
5 years ago
red-meadow
3174d3cc59
Minor tutorial fix ( #3843 )
5 years ago
Aaron George
36ca311500
FIXED: Media Elements Tutorial
...
* FIXED: Seeking
Seeking was being caused on the mousemove event, regardless of if the mouse was actually dragging or not
5 years ago
Sercan Eraslan
c7cc6a55cf
Fix: dimensions example overflow problem
5 years ago
Sercan Eraslan
8206c27c0a
Fix: lifecycle update example overflow problem
5 years ago
Conduitry
14a46a17d0
fix the rest of the typo
5 years ago
Bartosz Trzos
4b7e2a09c9
Fix a typo
...
Fix inconsistency with the app
5 years ago
Conduitry
1ab3dcb342
use assets served from github pages
5 years ago
Gonzalo Fernández-Victorio
c470d00489
Fix small typo
...
The name of the prop is current, not value. With value, fails
5 years ago
Richard Harris
383d441b83
better keyed each example
5 years ago
Samuel Elgozi
b6679eba7a
added `self` modifier explanation to the docs
5 years ago
Daniel Berner
bbbc7d25c5
Fix typo
5 years ago
Rich Harris
e9b59f72dc
Merge pull request #3338 from Vages/patch-1
...
Explain difference between contexts and stores
5 years ago
Rich Harris
5c365108ac
fix italicisation
5 years ago
Rich Harris
b629d6e25f
Combine context-vs-stores with reactivity explanation
5 years ago
Rich Harris
c48d3456f7
Update text.md
5 years ago
Rich Harris
9d90272966
Make point about referential equality more concisely
5 years ago
vages
78eaf77a65
Elaborate on key equality
...
Readers unfamiliar with the concept of object equality in Javascript may have a hard time understanding why using keys as a reference is safe. So I elaborated a little on it.
Also, I changed the "context is not reactive" part into a section of its own, deleting the word "Remember" from the opening. I couldn't remember it from previously on this page or in the tutorial, so I think it may be a leftover from a previous version of the tutorial.
5 years ago
vages
f2aa0f279e
Explain difference between contexts and stores
...
I had a problem understanding why you would want to use a context when you can just use a store. This is what I've gathered after reading a bit about them.
5 years ago
pngwn
fcfad5ae6b
Document that context is not reactive. ( #3296 )
5 years ago
Richard Harris
729fc4e891
link directly to event modifier tutorial
5 years ago
Philipp_Lypniakov
b3b830d21a
Update text.md
...
Added a suggestion for a user to add the preventDefault modifier so they could press any key uninterrupted by the default behavior of a key or key combination.
5 years ago
Rich Harris
68c8030d08
Merge pull request #3121 from Ding-Fan/patch-2
...
change "item" to "thing"
5 years ago
范鼎
b9cdadcd22
change "item" to "thing"
...
The text in the button is "Remove first thing".
5 years ago
mellisdesigns
39760b70f8
documentation - binding this remove 256 canvas size
5 years ago
Rich Harris
820490fb4d
add a tutorial chapter
5 years ago
igoradamenko
5d51d50613
site: reuse `layers` variable in window bindings tutorial
5 years ago
Richard Harris
9754f2a817
take code block out of blockquote
6 years ago
Richard Harris
44489c9ccb
Merge branch 'patch-1' of https://github.com/Karsten7/svelte into Karsten7-patch-1
6 years ago
Rich Harris
0dde4f51e0
Update text.md
6 years ago
Rich Harris
6a388a9f86
Merge pull request #2922 from gabysantosw/patch-2
...
Ending alt text with a period
6 years ago
Rich Harris
df632ca71e
change to sentence
6 years ago
Rich Harris
535d668516
Change text to a sentence, since we're ending it with a period
6 years ago