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 )
6 years ago
Richard Harris
729fc4e891
link directly to event modifier tutorial
6 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.
6 years ago
Rich Harris
68c8030d08
Merge pull request #3121 from Ding-Fan/patch-2
...
change "item" to "thing"
6 years ago
范鼎
b9cdadcd22
change "item" to "thing"
...
The text in the button is "Remove first thing".
6 years ago
mellisdesigns
39760b70f8
documentation - binding this remove 256 canvas size
6 years ago
Rich Harris
820490fb4d
add a tutorial chapter
6 years ago
igoradamenko
5d51d50613
site: reuse `layers` variable in window bindings tutorial
6 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
gabysantosw
b4d46ea60d
Ending alt text with a period
6 years ago
gabysantosw
f9c3d99b34
Ending alt text with a period
...
Added a period at the end of the alt text example, recently learned that it improves UX for screen-reader users as it provides a pause.
6 years ago
Richard Harris
d07feba638
use better eliza package
6 years ago
Karsten 7
6d59a40a62
Add implementation for the given tutorial example
6 years ago
Richard Harris
0d7f6fb795
flesh out in/out transition tutorial chapter ( #2792 )
6 years ago
Conduitry
2f80667f20
site: actions tutorial: destroy is not required ( #2776 )
6 years ago
Conduitry
011b33181e
site: fix immutable tutorial and example on Firefox ( #2601 )
6 years ago
Rich Harris
b64f570e2e
Merge pull request #2739 from membranophonist/patch-1
...
Replace tag with attribute for alt
6 years ago
Rich Harris
26a67a6ac4
Update text.md
6 years ago
Daniel J. Wilson
66a4c1a9bc
Pluralize elements
6 years ago
Daniel J. Wilson
5e8383cf37
Replace tag with attribute for alt
...
Being an attribute, alt should be mentioned as such.
6 years ago
Conduitry
80fe0e9cdb
site: add /chat redirect to Discord ( #2708 )
6 years ago
Rich Harris
7bf207f825
Update text.md
6 years ago
Lode Claassen
1df741a374
clarify when sanitization is done and when not
6 years ago
Conduitry
d0d54b792a
update links to new Sapper site
6 years ago
Scotty Simpson
d53fd611f3
clarify autosubscription scope requirement ( #2653 )
6 years ago
raveling
511060ba94
improve referencing to code editor for mobile readers ( #2632 )
...
* improve referencing to code editor for mobile readers
The current documentation mentions "to the right" which is not accurate for people reading the tutorial on narrow-viewport devices.
I changed it to "the code editor", but this may be improved upon to match other more common references.
* typo
6 years ago
Vidar Tysse
1ba42435ac
Typo
6 years ago
Emil Tholin
5ab4a6c2f8
Fix typo in 10-transitions/07-local-transitions/text.md
6 years ago
Kevin McGee
2d5b27b643
For want of a word...
...
_as_ you like it...
6 years ago
Rich Harris
bf51befb54
Merge pull request #2558 from enstyled/patch-1
...
Update tutorial video chapter assets URLs with HTTPS
6 years ago
Eric Brookfield
1d61e48490
e.g. -> for example
...
*E.g.* is an English language idiom that can be said in a plainer way, easier for non-native speakers to understand.
Personal preference is to use plainer language when possible, but I wouldn't be offended if this were rejected.
6 years ago
Emil Nikov
a3378466d3
Update assets URL in the code snippet
...
The assets are not loading when copy/pasting it in the editor, due to protocol mismatch.
6 years ago
Richard Harris
14ece6e789
simplify example further
6 years ago
Richard Harris
5c06d5ecf5
Merge branch 'patch-3' of https://github.com/CreaturesInUnitards/svelte into CreaturesInUnitards-patch-3
6 years ago
Allan Tito
e1b2d5dc28
Update text.md, line 34 ( #2541 )
...
* Added comma
* Update text.md; added comma
6 years ago
Allan Tito
0d5c2466a7
Added comma
6 years ago
Scotty Simpson
9268db7338
simpler, more efficient example
6 years ago
Jesse Wicks
57735d4982
fix tutorial link
6 years ago
Scotty Simpson
96e3df1c79
typo
...
I'm very helpful
6 years ago
Jon Ross
bf6bd36e38
Update alt text to clarify "shorthand attributes"
...
Alternatively, `alt="A man dancing"` could also be removed with no detrimental side effects IMO.
6 years ago
Conduitry
e039cabbaa
site: fix another link ( #2497 )
6 years ago
rqrqrqrq
bda6aff09c
Docs fix ( #2488 )
6 years ago
Richard Harris
115d10bd18
update references to svelte.technology - fixes #2450
6 years ago
Gabswim
0b706e24cb
typo in tutorial
6 years ago
Richard Harris
6ad3c560a2
update tutorial for keyed each blocks
6 years ago
Rich Harris
bb10298f2c
update animate chapter
6 years ago
Richard Harris
b1737503f0
start updating deferred transition chapter
6 years ago
Rich Harris
f04225fa0f
document local transitions
6 years ago
Rich Harris
b815ac7be9
document store bindings and $foo += 1
6 years ago
Rich Harris
d6d9a5ee01
Merge pull request #2425 from sveltejs/gh-2423
...
update svelte:options tutorial chapter, remove example
6 years ago
Rich Harris
ab84aeef11
update svelte:options tutorial chapter, remove example
6 years ago
Rich Harris
d66b1d9a1e
tweak copy
6 years ago
Rich Harris
b176f9370a
add tutorial chapter for mutations - fixes #2243
6 years ago
Rich Harris
c5b401254c
Update examples and thumbnails
6 years ago
Richard Harris
520f69f7cb
document the accessors option - closes #2382
6 years ago
Luca Bonavita
c474007c88
Add link to Mozilla docs about events bubbling and capture phase
...
Fixes #2393
6 years ago
Conduitry
a605daceaa
derived docs fix
6 years ago
Conduitry
6e46a18969
rename `derive` to `derived`
6 years ago
Richard Harris
56b6fb0607
fix readable examples in tutorial
6 years ago
Rich Harris
6ccd66468c
remove unused ctx/running variables
6 years ago
Rich Harris
68d6793c97
remove unused ctx/running variables
6 years ago
Hunter Perrin
94594eb298
Merge pull request #1 from hperrin/patch-2
...
Remove unused r variable.
6 years ago
Hunter Perrin
19f68f358b
Remove unused r variable.
6 years ago
Hunter Perrin
a85cc349b8
Remove unused r variable.
6 years ago
Richard Harris
143117054a
Merge branch 'master' of github.com:sveltejs/svelte
6 years ago
Richard Harris
200b82d8d0
add playbackRate to list of bindings in tutorial
6 years ago
Rich Harris
4be340bb57
fix example code
6 years ago
James
e76b9e779a
reverse readable stores arg order, fixes #2330
6 years ago
Brad Dougherty
1b3320d765
Update media urls to https
6 years ago
Richard Harris
771d9eed06
update/remove some more stuff
6 years ago
Rich Harris
4541d58798
Add a tutorial ( #2132 )
6 years ago