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 )
4 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
Conduitry
f244b80f7a
docs: referenced_from_script var value ( #4486 )
5 years ago
Jesse Skinner
20e079007c
docs: clarify default prop behaviour ( #4460 )
5 years ago
Matthew Dempsky
a53da7e4b0
site: clearer examples for <slot let:name> ( #4125 )
5 years ago
Jesse Skinner
c992f7a2d2
docs: reword to avoid "outroing" ( #4434 )
5 years ago
PKlknr
7fdae5f8a8
docs: add await in front of preprocess examples ( #4404 )
5 years ago
Conduitry
83d461f537
site: clarify preserveWhitespace ( #4341 )
...
* site: clarify preserveWhitespace
* Update 04-compile-time.md
Co-authored-by: Rich Harris <richard.a.harris@gmail.com>
5 years ago
Wolfr
70d1795088
site: Remove WIP message, but still reference the chat room. ( #4329 )
5 years ago
Conduitry
3ba4f8abca
site: fix a couple absolute links
5 years ago
Conduitry
7494509dfd
only attach SSR <head> markers when hydratable: true ( #4260 )
5 years ago
Kevin Åberg Kultalahti
3d9655a2a1
site: add documentation for global keyframes ( #4232 )
5 years ago