Hofer Ivan
5cfefeb6e7
support rendering components in a shadow dom ( #5870 )
3 years ago
Tan Li Hau
222a9dd2c6
[feat] get all contexts ( #6528 )
...
* get all contexts
* docs
* explicit return type
* allow specifying return type through generic parameter
* Update site/content/docs/03-run-time.md
Co-authored-by: Ben McCann <322311+benmccann@users.noreply.github.com>
Co-authored-by: Simon H <5968653+dummdidumm@users.noreply.github.com>
Co-authored-by: Ben McCann <322311+benmccann@users.noreply.github.com>
3 years ago
Simon H
931738e821
[docs] mention that afterUpdate runs after onMount
...
Closes #4273
3 years ago
Simon H
92fba761a8
docs: clarify writable value is lost when destroyed
...
Closes #4610
Closes #4407
3 years ago
Ophir LOJKINE
f797482e27
Add documentation for crossfade ( #6196 )
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.
4 years ago
Tan Li Hau
6c5257beb2
allow passing in context in constructor ( #6032 )
...
Co-authored-by: Conduitry <git@chor.date>
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
Andy Bruère
4e114d3b0d
docs: remove broken link to easing function ( #5635 )
4 years ago
Tan Li Hau
ebbbc0d298
docs: add missing `easing` option to `fade` ( #5495 )
4 years ago
Antony Jones
dc73b735ce
docs: clarify onMount with non-synchronous handlers ( #5053 )
4 years ago
Alessandro (Ale) Segala
81b6c0b986
docs: adjust readable store example ( #4903 )
5 years ago
Matt Wolff
97db5cc7f7
docs: add blur to list of svelte/transition exports
5 years ago
pngwn
d5e95594e9
feat(site): add svelte syntax highlighting ( #4851 )
5 years ago
Conduitry
35a910eea2
docs: fix link to animate section
5 years ago
Eddy
75ae49312f
docs: fix link to transition section ( #4748 )
5 years ago
Tim Gates
89f30dae36
docs: Fix simple typo, specificy -> specify ( #4637 )
5 years ago
keke
48721520bd
docs: fix self-closing <svelte:options> tag ( #4524 )
5 years ago
Conduitry
7494509dfd
only attach SSR <head> markers when hydratable: true ( #4260 )
5 years ago
trbrc
45933f9700
site: Clearer documentation of store contract ( #4216 )
5 years ago
Yugo Ogura
11002c93fe
site: fix wrong link to tweened ( #4137 )
5 years ago
Rich Harris
e931a56854
Merge pull request #3762 from sveltejs/gh-3761
...
allow spring/tweened values to be initially undefined
5 years ago
Richard Harris
e8f5b24143
docs and a fix for #3761
5 years ago
Alessandro (Ale) Segala
8c0c15c3aa
Fixed anchor link in documentation
5 years ago
Paul Murray
d91e9afab6
Fixes #3008 : Better SSR docs
5 years ago
Infant Frontender
77e3605c39
Fix typo
...
customElements -> customElement
5 years ago
Jack Beegan
44447003a9
Fix minor error in API docs of draw
5 years ago
Richard Harris
db5cea146f
document blur transition
5 years ago
Richard Harris
08be15e3ae
add some more CE docs
5 years ago
Richard Harris
de24efd3b8
small fix
5 years ago
Richard Harris
b23839fb5f
add custom element documentation
5 years ago
Hugo C
0597d04dba
Update 03-run-time.md
...
Their might have been a minor error in the transition->draw-> speed parameter description. According to the description, half the speed halves the duration and double the speed doubles it (which doesn't make sense physicaly speaking). Let's try the other way around. :)
5 years ago
pngwn
fcfad5ae6b
Document that context is not reactive. ( #3296 )
5 years ago
pngwn
efcd294731
Site: Document svelte/easing ( #3292 )
5 years ago
Rich Harris
695ace3665
Update 03-run-time.md
5 years ago
Rich Harris
8851d79533
put second argument section back with its code sample
5 years ago
Rohan Faiyaz Khan
d56e0d5080
Update 03-run-time.md
...
Added descriptors for set and update methods of the return object of writable in svelte/store.
5 years ago
Conduitry
35f81b279f
site: document store contract ( #3261 )
5 years ago
Chris Lee
0a76ea32bc
Change tweened docs to show "interpolate" option
...
`tweened` actually accepts `interpolate`, not `interpolator`. It was correctly shown in the code example (and tutorial), but not in the API docs.
Not sure if doing a full build of the site is necessary or desired, so I've just kept this change to the markdown file for now.
5 years ago
Rich Harris
9806d18bdb
Update 03-run-time.md
5 years ago
Bryan Terce
5515bb49c9
Fix docs typo with derived store
5 years ago
Tim Deschryver
42235cf64d
fix slide example
6 years ago
Conduitry
438acdc09a
typo
6 years ago
Rich Harris
0c76b9637a
minor correction
6 years ago
pngwn
c72e863a7f
Document svelte/transition - fade, fly, slide, scale, draw.
6 years ago
Rich Harris
ca1dc4cdb7
document changes to derived
6 years ago
Richard Harris
4ef1a2d623
document new spring options
6 years ago
Rich Harris
8f2ccc407e
flesh out svelte/register docs
6 years ago
Jon Ross
df602b74b0
Add barebones description of `svelte/register`
...
I don't know if this is correct, but it works for me and this is better than nothing.
6 years ago