Eddy
75ae49312f
docs: fix link to transition section ( #4748 )
5 years ago
Daniel Imfeld
676d57b5f7
docs: clarify that all elements in an outroing block remain until the transition finishes ( #4684 )
5 years ago
pushkin
467fc84d7d
docs: mention |self modifier in reference section ( #4709 )
5 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
Conduitry
14154fce36
site: document Observable interop ( #2571 )
5 years ago
Conduitry
252ec8ceca
site: missing space
5 years ago
trbrc
45933f9700
site: Clearer documentation of store contract ( #4216 )
5 years ago
Josh Duff
00e39c767a
site: Explain how each blocks work a bit more ( #4118 )
5 years ago
Thomas Ferro
fe750d2606
Doc ( #4172 ): Fixing the unclear slot with fallback content example
5 years ago
Yugo Ogura
11002c93fe
site: fix wrong link to tweened ( #4137 )
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
Rich Harris
1dead6fa9d
typo
5 years ago
Rich Harris
a4658e2d42
document new media element bindings
5 years ago
Tan Li Hau
b382b9a9c6
add loopGuardTimeout options
5 years ago
Conduitry
de80ae72c3
site: clarify bind component prop docs ( #3484 )
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
pngwn
7c445093fb
Document bind:playbackRate in the API documentation. Closes #3806 .
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
Josh Duff
e4d7f77453
site: add missing word
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
Elliot Waite
0040f34c5c
Fix a typo in 04-compile-time.md.
5 years ago
Richard Harris
db5cea146f
document blur transition
5 years ago
Rich Harris
5346b378e3
tweak explanation
5 years ago
David A Kondrad
6e9ac1971c
site: docs: {@html} clarifications
...
This commit clarifies that `{@html}` directives cannot be used to surround markup with additional tags.
Also corrected the grammar in the descriptive text to remove dangling fragment.
Fixes #3456
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
davidaq
4af242570b
Correct preprocessor api doc
...
Correct preprocessor type definition inside api doc
5 years ago
Rich Harris
ad790d36b4
add separator
5 years ago
vages
73a21b855a
Document $$props
...
This was explained in the tutorial, but I could not find any documentation on it in the docs.
5 years ago
Richard Harris
8170d4f455
add docs
5 years ago
Conduitry
f65ce85748
site: fix animate directive section heading
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
Noah Kaufman
c6cd2d43bb
clicking on 'keyed each block' link did nothing before, now it takes you to the each blocks section like it's supposed to
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
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.
6 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
6 years ago
Tim Deschryver
42235cf64d
fix slide example
6 years ago
Rich Harris
9ba91ddcaa
Merge pull request #2794 from trbrc/patch-1
...
Docs: Exporting function expression vs declaration
6 years ago
Emanuele
394a166a41
docs: multiple event listeners on single node ( #2825 )
6 years ago
Conduitry
1e919113c1
site: document additional arguments in svelte.walk
6 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.
6 years ago
Rich Harris
51be7cf8e3
explain how debug tag without args fires on all state changes
6 years ago
Peter Varholak
85073dbb72
add @debug API docs
6 years ago
Conduitry
438acdc09a
typo
6 years ago
Rich Harris
f2474ed11e
Merge pull request #2744 from pngwn/transition-docs
...
Document svelte/transition - fade, fly, slide, scale, draw.
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
61a96b382a
implement namespaced components
6 years ago
Rich Harris
4fa9369120
Merge pull request #2580 from pngwn/animate-docs
...
Site: Document animations. #2532
6 years ago
Rich Harris
644b8a732d
Merge pull request #2730 from sveltejs/gh-2553
...
allow derivers to return cleanup functions
6 years ago
Rich Harris
ca1dc4cdb7
document changes to derived
6 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.
6 years ago
Conduitry
80fe0e9cdb
site: add /chat redirect to Discord ( #2708 )
6 years ago
Conduitry
f7978b234a
site: document export-as ( #2559 )
6 years ago
pngwn
7a7804be49
Document animations. #2532
6 years ago
Michael Braun
ac24817ef0
Clarifying `let` needs to be used on exported properties, in order for them to be passed in
6 years ago
Richard Harris
4ef1a2d623
document new spring options
6 years ago
Rich Harris
ba91810b0b
Merge pull request #2672 from sveltejs/gh-2661
...
expose svelte.walk
6 years ago
Conduitry
54a8eb9fd4
expose svelte.walk ( #2661 )
6 years ago
Conduitry
df448cb36a
document svelte.parse
6 years ago
Rich Harris
cfb22e4a10
Merge pull request #2633 from zlsa/patch-2
...
Add barebones description of `svelte/register`
6 years ago
Rich Harris
8f2ccc407e
flesh out svelte/register docs
6 years ago
pngwn
2bfe477dea
Site: Briefly mention intro:true in the transition directive section.
6 years ago
Rich Harris
85b1850b77
Move some stuff into @sveltejs/site-kit
6 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
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
pngwn
60e73c41dc
Document svelte/animate - flip.
6 years ago
pngwn
764f71c30d
Site: Document createEventDispatcher. ( #2583 )
6 years ago
Andrei Eftimie
e0bebb56a9
Site: Fix slot typo in docs
6 years ago
Emil Tholin
eab763c386
Document how to remove a component.$on listener
...
This PR documents how `component.$on` returns a function that removes the event listener when called.
6 years ago
Rich Harris
f38678673c
Merge pull request #2517 from CreaturesInUnitards/patch-4
...
add multiple class toggles example
6 years ago
Vytautas Jakutis
1f8afcb37e
site: docs: fix a typo in HTML example in template syntax
6 years ago
Scotty Simpson
644c02eb54
is-admin => isAdmin
6 years ago
Scotty Simpson
1865710095
add multiple class toggles example
...
This answers the immediate question I had when I first saw the `class:foo` syntax.
6 years ago
Luca Bonavita
58531cbf49
Fix hash links in docs
...
- update links containing `docs#`
- pointing some links to the v2 branch
- for posterity, I've been looking also in markdown links containing an anchor using \[.+\]\(.+#.+\), derived from regexr.com/3e051 (1 found)
- Gitter -> Discord
Fixes #2470
6 years ago
Richard Harris
1c2d19b9c6
update docs
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
9a503f21b1
Add anchor to h5 and h6 too but don't show 'em in the sidebar.
6 years ago
Conduitry
3170edb158
add initial_value argument to derived store
6 years ago
Luca Bonavita
2778956612
Code blocks formatting. Fixes #2387
6 years ago
Conduitry
a605daceaa
derived docs fix
6 years ago
Rich Harris
8e78448a39
keep svelte prefix for compiler exports
6 years ago
Rich Harris
795d9b7e66
Fix pluralisation
6 years ago
Rich Harris
b68584ec2a
revert previous commit. just saw the rest of the PR, doh
6 years ago
Rich Harris
cec1d6cf2d
remove separate bind:this item (could also be a component, gets confusing)
6 years ago
Rich Harris
9a0b847455
Merge branch 'master' into site-headings-level-4
6 years ago
Rich Harris
cf095c4723
Merge pull request #2381 from sveltejs/gh-2380
...
add scale transition
6 years ago
Conduitry
6e46a18969
rename `derive` to `derived`
6 years ago
Rich Harris
66d6feb8ef
add scale transition. closes #2380
6 years ago
Luca Bonavita
c88b28e207
Add more level 4 headings, fixes some typos
6 years ago
Rich Harris
a42671fdc7
Update 03-run-time.md
...
tweak description of second argument to writable/readable
6 years ago
Pat Cavit
e93eb6fbb2
docs: fix incorrect readable store
...
Changed in f3cb540ce6
(first brought up in #2296 ), but the docs got missed.
6 years ago
Luca Bonavita
f6b399f8d0
API docs: remove an absolute URL
...
I originally started this PR because the link `[stores](tutorial/writable-stores)`
renders as http://localhost:3000/tutorial/writable-stores on https://v3.svelte.technology/docs#svelte-store .
No idea why because the rest of the relative links in content/ have the same format.
6 years ago
Vadim Cebaniuc
b161725a51
Fix typos in doc node-sass example
...
closes #2337
6 years ago
Pat Cavit
a68abb8a9a
docs: "proeprties" -> "properties"
6 years ago
Pat Cavit
4a75d93173
docs: remove hardcoded localhost link from API
6 years ago
Rich Harris
a07eac432a
update API reference docs ( #2206 )
6 years ago