adrian5
565931dff9
Doc: update file-type association instructions for Atom
5 years ago
Josh Duff
e4d7f77453
site: add missing word
5 years ago
Conduitry
8d5b7e0ef3
site: tidy a few markdown code block languages
5 years ago
Conduitry
0d20fb9b8d
site: fix unknown syntax highlighting language in blog post
5 years ago
Sercan Eraslan
c7cc6a55cf
Fix: dimensions example overflow problem
5 years ago
adrian5
dcfe9f6b78
Doc: add file-type association instructions for Atom
5 years ago
Sercan Eraslan
8206c27c0a
Fix: lifecycle update example overflow problem
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
Conduitry
14a46a17d0
fix the rest of the typo
5 years ago
Bartosz Trzos
4b7e2a09c9
Fix a typo
...
Fix inconsistency with the app
5 years ago
mattstobbs
c250793b35
Fix animate example ( #3543 )
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
Reto Trinkler
b1a8c96e18
Remove unnecessary code in "bind-this" example
...
In https://svelte.dev/examples#bind-this some code is superfluous
5 years ago
Conduitry
1ab3dcb342
use assets served from github pages
5 years ago
Gonzalo Fernández-Victorio
c470d00489
Fix small typo
...
The name of the prop is current, not value. With value, fails
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
Rich Harris
120ee28c4f
Merge pull request #3416 from sveltejs/better-keyed-each-example
...
better keyed each example
5 years ago
Richard Harris
383d441b83
better keyed each example
5 years ago
Rich Harris
4251fc9f00
Merge pull request #3405 from Dagdahu/patch-1
...
Possible typo on transition speed description - Update 03-run-time.md
5 years ago
Christian Engen
8f284c0f9a
Docs: unused variable removed
...
The `const ctx` declaration in `loop` shadows the `let ctx` declaration in the outer scope.
This change removes the outer declaration.
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
Richard Harris
4f26363fe0
update deferred transitions example
5 years ago
Richard Harris
bb9a9efec2
Merge branch 'master' of github.com:sveltejs/svelte
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
Samuel Elgozi
b6679eba7a
added `self` modifier explanation to the docs
5 years ago
Daniel Berner
bbbc7d25c5
Fix typo
5 years ago
Richard Harris
8170d4f455
add docs
5 years ago
Rich Harris
e9b59f72dc
Merge pull request #3338 from Vages/patch-1
...
Explain difference between contexts and stores
5 years ago
Rich Harris
5c365108ac
fix italicisation
5 years ago
Rich Harris
b629d6e25f
Combine context-vs-stores with reactivity explanation
5 years ago
Rich Harris
c48d3456f7
Update text.md
5 years ago
Rich Harris
9d90272966
Make point about referential equality more concisely
5 years ago
vages
78eaf77a65
Elaborate on key equality
...
Readers unfamiliar with the concept of object equality in Javascript may have a hard time understanding why using keys as a reference is safe. So I elaborated a little on it.
Also, I changed the "context is not reactive" part into a section of its own, deleting the word "Remember" from the opening. I couldn't remember it from previously on this page or in the tutorial, so I think it may be a leftover from a previous version of the tutorial.
5 years ago
vages
f2aa0f279e
Explain difference between contexts and stores
...
I had a problem understanding why you would want to use a context when you can just use a store. This is what I've gathered after reading a bit about them.
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
Richard Harris
729fc4e891
link directly to event modifier tutorial
5 years ago
Richard Harris
9a0a2e2a52
Merge branch 'patch-1' of https://github.com/RAYDENFilipp/svelte into RAYDENFilipp-patch-1
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
craigglennie
0a3818fb9b
Don't use shorthand binding in textarea example ( #3256 )
5 years ago
Philipp_Lypniakov
b3b830d21a
Update text.md
...
Added a suggestion for a user to add the preventDefault modifier so they could press any key uninterrupted by the default behavior of a key or key combination.
5 years ago
Conduitry
35f81b279f
site: document store contract ( #3261 )
5 years ago
Conduitry
323e2fa4ae
site: fix setting-up-your-editor blog post crashing the server
5 years ago
Lyndsy Simon
d9c45819a3
Add instructions for setting filetype in Vim
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
68c8030d08
Merge pull request #3121 from Ding-Fan/patch-2
...
change "item" to "thing"
5 years ago
范鼎
b9cdadcd22
change "item" to "thing"
...
The text in the button is "Remove first thing".
5 years ago
mellisdesigns
39760b70f8
documentation - binding this remove 256 canvas size
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
820490fb4d
add a tutorial chapter
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
igoradamenko
5d51d50613
site: reuse `layers` variable in window bindings tutorial
5 years ago
Richard Harris
d270542aee
merge master -> doc-restructure
5 years ago
Conduitry
87d4ac55c9
site: fix css-in-js blog embed, pt II
5 years ago
Conduitry
c24fc92d2f
site: fix css-in-js blog embed
5 years ago
Jacob Wright
52b5e05ead
Fix 7 GUIs crud example for delete when filtered
...
This example could delete the incorrect person when a filter was applied. Just an example, but the behavior was confusing when I played with it, so I thought it worth fixing.
5 years ago
Richard Harris
9754f2a817
take code block out of blockquote
6 years ago
Richard Harris
44489c9ccb
Merge branch 'patch-1' of https://github.com/Karsten7/svelte into Karsten7-patch-1
6 years ago
Richard Harris
7215260aa2
tweak transition stuff
6 years ago
Richard Harris
60023f6f7e
tweak some content and styles
6 years ago
Rich Harris
0dde4f51e0
Update text.md
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
Rich Harris
6a388a9f86
Merge pull request #2922 from gabysantosw/patch-2
...
Ending alt text with a period
6 years ago
Rich Harris
aaabb12623
Merge pull request #2921 from gabysantosw/patch-1
...
Ending alt text with a period
6 years ago
Rich Harris
df632ca71e
change to sentence
6 years ago
Rich Harris
535d668516
Change text to a sentence, since we're ending it with a period
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
gabysantosw
b4d46ea60d
Ending alt text with a period
6 years ago
gabysantosw
f9c3d99b34
Ending alt text with a period
...
Added a period at the end of the alt text example, recently learned that it improves UX for screen-reader users as it provides a pause.
6 years ago
Tim Deschryver
42235cf64d
fix slide example
6 years ago
Richard Harris
d07feba638
use better eliza package
6 years ago
Karsten 7
6d59a40a62
Add implementation for the given tutorial example
6 years ago
Richard Harris
0d7f6fb795
flesh out in/out transition tutorial chapter ( #2792 )
6 years ago
Elliot Waite
4c805018e4
Fix CRUD example to allow changing input values.
...
Currently, the first name and last name inputs fields can't be edited without the changes immediately being overwritten back to the selected person's first name and last name. This change will make it so that the input fields only get overwritten with the selected person's first name and last name when the selected person is changed.
6 years ago
Conduitry
2f80667f20
site: actions tutorial: destroy is not required ( #2776 )
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