Luca Bonavita
0eb86d2a13
The element on: directive anchorwas pointing to the component on: directive anchor.
...
Fixes #3138
5 years ago
Rich Harris
80ef6f190d
Merge pull request #3127 from pngwn/3029-module-reactivity
...
Site: document that module script variables are not reactive. Closes …
5 years ago
Rich Harris
e05680d2e7
Update 01-component-format.md
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
pngwn
e0ac393a76
Site: document that module script variables are not reactive. Closes #3029 .
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
Rich Harris
6e6a675c67
tweak docs a bit
5 years ago
Rich Harris
86c5086c54
add some docs, rename to textContent and innerHTML
5 years ago
Luca Bonavita
0b836872cf
Use consistent tag closing for <svelte:*> elements
...
Fixes #3061
5 years ago
Luca Bonavita
a7dd227336
Docs: document rest in array/object destructuring in each blocks ( #2676 )
5 years ago
Richard Harris
7215260aa2
tweak transition stuff
5 years ago
Richard Harris
60023f6f7e
tweak some content and styles
5 years ago
Richard Harris
570098e8dd
restructure
5 years ago
Richard Harris
f42bb4c7fd
Merge branch 'patch-1' of https://github.com/trbrc/svelte into trbrc-patch-1
5 years ago
Jacob Wright
f65379f38b
Fix component binding example
...
While `cart.empty` could be passed around, it is undefined on first render and results in an error being thrown. The example here was broken and needed fixing.
5 years ago
trbrc
b4b9edf603
Clearer headlines with syntax examples
...
Change headline “Actions” to “Use directive” + add a number of additional syntax examples, to make it easier to find the relevant section without ⌘F
5 years ago
Tim Deschryver
42235cf64d
fix slide example
5 years ago
Rich Harris
9ba91ddcaa
Merge pull request #2794 from trbrc/patch-1
...
Docs: Exporting function expression vs declaration
5 years ago
Emanuele
394a166a41
docs: multiple event listeners on single node ( #2825 )
5 years ago
Conduitry
1e919113c1
site: document additional arguments in svelte.walk
5 years ago
trbrc
c15d7ea2e1
Docs: Exporting function expression vs declaration
...
Current docs give the impression that functions can not be default values for props. Suggestion to make the distinction between expressions and declarations clearer.
5 years ago
Rich Harris
51be7cf8e3
explain how debug tag without args fires on all state changes
5 years ago
Peter Varholak
85073dbb72
add @debug API docs
5 years ago
Conduitry
438acdc09a
typo
5 years ago
Rich Harris
f2474ed11e
Merge pull request #2744 from pngwn/transition-docs
...
Document svelte/transition - fade, fly, slide, scale, draw.
5 years ago
Rich Harris
0c76b9637a
minor correction
5 years ago
pngwn
c72e863a7f
Document svelte/transition - fade, fly, slide, scale, draw.
5 years ago
Rich Harris
61a96b382a
implement namespaced components
5 years ago
Rich Harris
4fa9369120
Merge pull request #2580 from pngwn/animate-docs
...
Site: Document animations. #2532
5 years ago
Rich Harris
644b8a732d
Merge pull request #2730 from sveltejs/gh-2553
...
allow derivers to return cleanup functions
5 years ago
Rich Harris
ca1dc4cdb7
document changes to derived
5 years ago
Josh Duff
5ebde551b2
Link to label syntax page on MDN
...
Inspired by https://github.com/sveltejs/svelte/issues/98#issuecomment-491586072 , I wanted to make it a bit more explicit that the `$:` label was actual JS syntax.
5 years ago
Conduitry
80fe0e9cdb
site: add /chat redirect to Discord ( #2708 )
5 years ago
Conduitry
f7978b234a
site: document export-as ( #2559 )
5 years ago
pngwn
7a7804be49
Document animations. #2532
5 years ago
Michael Braun
ac24817ef0
Clarifying `let` needs to be used on exported properties, in order for them to be passed in
5 years ago
Richard Harris
4ef1a2d623
document new spring options
5 years ago
Rich Harris
ba91810b0b
Merge pull request #2672 from sveltejs/gh-2661
...
expose svelte.walk
5 years ago
Conduitry
54a8eb9fd4
expose svelte.walk ( #2661 )
5 years ago
Conduitry
df448cb36a
document svelte.parse
5 years ago
Rich Harris
cfb22e4a10
Merge pull request #2633 from zlsa/patch-2
...
Add barebones description of `svelte/register`
5 years ago
Rich Harris
8f2ccc407e
flesh out svelte/register docs
5 years ago
pngwn
2bfe477dea
Site: Briefly mention intro:true in the transition directive section.
5 years ago
Rich Harris
85b1850b77
Move some stuff into @sveltejs/site-kit
5 years ago
Benjamin Milde
e73084b6af
Hint at the reactivity limitation of array methods in the api docs ( #2622 )
...
* Hint at the reactivity limitation of array methods in the api docs
* tweaks
5 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.
5 years ago
pngwn
60e73c41dc
Document svelte/animate - flip.
5 years ago
pngwn
764f71c30d
Site: Document createEventDispatcher. ( #2583 )
5 years ago
Andrei Eftimie
e0bebb56a9
Site: Fix slot typo in docs
5 years ago