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
6 years ago
Richard Harris
60023f6f7e
tweak some content and styles
6 years ago
Richard Harris
570098e8dd
restructure
6 years ago
Richard Harris
f42bb4c7fd
Merge branch 'patch-1' of https://github.com/trbrc/svelte into trbrc-patch-1
6 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