Geoff Rich
7bf3f20dc3
Add docs for compound :global selector ( #6271 )
...
* Add docs for compound :global selector
Co-authored-by: Antony Jones <ant@enzy.org>
3 years ago
Tan Li Hau
142de015eb
add accessibility warnings to the docs ( #5316 )
3 years ago
Tan Li Hau
25a48be0ef
update docs for style tag in elements ( #6415 )
3 years ago
Dominik G
2c488f4d61
docs: update documentation for preprocessor sourcemap output ( #6438 )
3 years ago
Simon H
e27d71f0cf
docs: fix typo
3 years ago
Paul Murray
ad29604d6b
Docs: Rename slot let section ( #6018 )
...
The title of this section was a bit confusing, since `<slot let:name={value} />` is not actually the correct syntax
3 years ago
Dan Kozlov
cc58f60002
Add a note that bind:files is readonly ( #6099 )
3 years ago
Stephane
b1d09a4aa2
Clarify that special elements have to be top level ( #6240 )
3 years ago
Simon H
4acfb05315
Docs: Clarify that `@html` does not compile Svelte code ( #6349 )
3 years ago
Ignatius Bagus
b295d68ec6
fix types: allow writable/readable empty initialization ( #6293 )
...
Fixes #6291
Fixes #6345
Both writable and readable initialized without any arguments are already valid, but TS complains about it. This makes both allowed to be emptily initialized. It's also possible to invoke readable with one argument only.
3 years ago
Maxime LUCE
08047c14b6
Pass full markup source to preprocessors ( #6169 )
3 years ago
Geoff Rich
a55295de8c
docs: mention that svelte:self can be in a slot ( #6184 )
3 years ago
Tan Li Hau
6c5257beb2
allow passing in context in constructor ( #6032 )
...
Co-authored-by: Conduitry <git@chor.date>
4 years ago
Stephane
47e1eeed56
Add documentation and tutorial for svelte:fragment ( #6097 )
4 years ago
Rich Harris
2925a00eff
add cssHash option ( #6026 )
...
* Allow to customize the css scope class
* Pass component name to scope class generator
* Move Stylesheet arguments into an object
* Refactor to cssHash
* Please the almighty linter
* pass hash function to cssHash
* update test
* document cssHash option
Co-authored-by: Christian Kaisermann <christian@kaisermann.me>
4 years ago
Ben McCann
55b11b0664
docs: define component before demonstrating usage ( #5921 )
4 years ago
halfnelson
a7eff8894f
add `foreign` namespace to preserve attribute case and skip HTML-specific a11y validations ( #5652 )
4 years ago
Liam Egan
1046ca71a7
Remove duplicate sentence ( #5751 )
4 years ago
Adam Rackis
e5aa04ed49
Add clarification on what makes a reactive block reactive to docs. ( #5729 )
...
* Add clarification on what makes a reactive block reactive to docs.
* Tweak reactive explanation
4 years ago
pushkin
01ead95cbe
add hasContext lifecycle function ( #5690 )
4 years ago
pushkin
1fa46fde4f
Correct `onDestroy` behavior description ( #5590 )
...
* Update 03-run-time.md
* Update site/content/docs/03-run-time.md
Co-authored-by: Simon H <5968653+dummdidumm@users.noreply.github.com>
Co-authored-by: Simon H <5968653+dummdidumm@users.noreply.github.com>
4 years ago
swyx
e750b7284e
document await...catch shorthand ( #5682 )
4 years ago
Andy Bruère
4e114d3b0d
docs: remove broken link to easing function ( #5635 )
4 years ago
Cameron Messinides
169fd8497c
docs: add documentation for $$slots ( #5277 )
4 years ago
Tan Li Hau
ebbbc0d298
docs: add missing `easing` option to `fade` ( #5495 )
4 years ago
Tan Li Hau
fa7c780bad
{#key} block ( #5397 )
...
Co-authored-by: Conduitry <git@chor.date>
4 years ago
Tan Li Hau
a1651ca271
add nonpassive event modifier ( #5442 )
...
Co-authored-by: filipot <filipot@stud.ntnu.no>
4 years ago
Eugene Hwang
ae971f80ae
docs: adjust explanations of `$$props` and `$$restProps` ( #5368 )
4 years ago
Luca Bonavita
8f17d6c78c
docs: document `bind:files` ( #5141 )
4 years ago
Luca Bonavita
c31a4b56d0
site: rephrase to clarify that actions can have just one parameter.
...
Closes #5173
4 years ago
Antony Jones
dc73b735ce
docs: clarify onMount with non-synchronous handlers ( #5053 )
4 years ago
Matt Wolff
5b2b58f46f
docs: media binding tweaks ( #4967 )
4 years ago
Alessandro (Ale) Segala
81b6c0b986
docs: adjust readable store example ( #4903 )
4 years ago
Daniel Imfeld
f624d6e292
docs: `value` cannot be set via spread for indirectly bound values ( #4832 )
4 years ago
Matt Wolff
97db5cc7f7
docs: add blur to list of svelte/transition exports
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>
4 years ago
pngwn
d5e95594e9
feat(site): add svelte syntax highlighting ( #4851 )
4 years ago
Ben McCann
5ac8a1d07a
docs: link to list of community preprocessors ( #4817 )
4 years ago
Joseph Abrahamson
5efeeecee8
docs: clarify store contract type signature ( #4539 )
4 years ago
MichalBednarczyk
edeeb05a6c
docs: {#each} with key but without index ( #4721 )
4 years ago
Antony Jones
0e61e51358
docs: add v2 site link ( #4745 )
4 years ago
Conduitry
35a910eea2
docs: fix link to animate section
4 years ago
Eddy
75ae49312f
docs: fix link to transition section ( #4748 )
4 years ago
Daniel Imfeld
676d57b5f7
docs: clarify that all elements in an outroing block remain until the transition finishes ( #4684 )
4 years ago
pushkin
467fc84d7d
docs: mention |self modifier in reference section ( #4709 )
4 years ago
Conduitry
0d263cc1ea
docs: use Node.TEXT_NODE in more places
5 years ago
Tim Gates
89f30dae36
docs: Fix simple typo, specificy -> specify ( #4637 )
5 years ago
Tan Li Hau
91d758e35b
introduce $$restProps ( #4489 )
5 years ago
keke
48721520bd
docs: fix self-closing <svelte:options> tag ( #4524 )
5 years ago
Conduitry
addea43e4f
docs: describe falsy and nullish attribute behavior ( #4498 )
5 years ago