Tan Li Hau
a1651ca271
add nonpassive event modifier ( #5442 )
...
Co-authored-by: filipot <filipot@stud.ntnu.no>
4 years ago
Simon H
4c135b0b8d
Update editor recommendations of old blog post ( #5434 )
4 years ago
Cal Jacobson
6c8bd6e5aa
Include link to VS Code extension in tutorial ( #5231 )
4 years ago
Shriji
bd2175b67b
Add list of books to FAQ ( #5404 )
4 years ago
infuzz
5f422d8ddb
Link to more video courses in FAQ ( #5396 )
...
Co-authored-by: Ben McCann <322311+benmccann@users.noreply.github.com>
4 years ago
lonevox
3255f8b662
site: change "on to" to "onto" in tutorial 03 ( #5386 )
4 years ago
Eugene Hwang
ae971f80ae
docs: adjust explanations of `$$props` and `$$restProps` ( #5368 )
4 years ago
Cam Jackson
80e474a244
site: Replace "active" with "selected" as an example class name ( #5309 )
4 years ago
Simon H
8adb47401e
site: Fix blog JS type checking suggestion ( #5306 )
4 years ago
Venkateshwaran Selvaraj
ad8d8564ec
Adding Rich Harris's Frontend Masters course on FAQ page ( #5180 )
...
* Adding Rich Harris's Frontend Masters course on FAQ page
Co-authored-by: Ben McCann <322311+benmccann@users.noreply.github.com>
4 years ago
Luca Bonavita
8f17d6c78c
docs: document `bind:files` ( #5141 )
4 years ago
Ben McCann
1398affa53
Update TypeScript blog post with info about Sapper ( #5249 )
4 years ago
Ben McCann
cf57050f49
Mention "import type" in TypeScript FAQ ( #5243 )
...
* Mention "import type" in TypeScript FAQ
* Update site/content/faq/500-what-about-typescript-support.md
Co-authored-by: Christian Kaisermann <christian@kaisermann.me>
4 years ago
Charles Rosaaen
231e4a0b3c
site: update link in blog for SCode extension ( #5232 )
4 years ago
João Paulo
a0ed7040f1
site: clarify file -> module in <svelte:self> tutorial ( #5171 )
4 years ago
Conduitry
f4f16da455
site: use relative link to tutorial in FAQ entry
4 years ago
rmacklin
40987b7780
site: update links in the Sapper intro blog post ( #5189 )
4 years ago
Rich Harris
4b7c16e33a
tweak blog post anchor style to be less noisy
4 years ago
Orta Therox
f6152002eb
Initial stab at a TypeScript blog post ( #5101 )
...
* Initial stab at a blog post
* Update site/content/blog/2020-06-04-svelte-and-typescript.md
Co-authored-by: pngwn <hello@pngwn.io>
* Update 2020-06-04-svelte-and-typescript.md
* Apply suggestions from code review
Co-authored-by: halfnelson <dpershouse@gmail.com>
Co-authored-by: Simon H <5968653+dummdidumm@users.noreply.github.com>
* Tighten the post
* Fix degit sample
* Feedback
* More feeedback
* Handle feedback
* Handle all the feedback in the PR
* Add a note about the should work
* Change date
* code style consistency, fix syntax error
Co-authored-by: pngwn <hello@pngwn.io>
Co-authored-by: halfnelson <dpershouse@gmail.com>
Co-authored-by: Simon H <5968653+dummdidumm@users.noreply.github.com>
Co-authored-by: Rich Harris <richard.a.harris@gmail.com>
4 years ago
Luca Bonavita
c31a4b56d0
site: rephrase to clarify that actions can have just one parameter.
...
Closes #5173
4 years ago
Lev Maximov
fd0b47d0da
site: use https in link in blog ( #5148 )
5 years ago
Stanislav Lashmanov
5c6730e382
Simplify each block bindings example ( #5094 )
...
No need for CSS here, the same effect could be achieved with just a `disabled` binding.
5 years ago
Orta Therox
8a8177b897
site: add FAQ entry for how to document a svelte component ( #5131 )
5 years ago
Luca Bonavita
c2788de652
site: remove an obsolete TODO in blog post ( #5135 )
5 years ago
Adam Ho
b56829c7b8
site: fix blog typo ( #5090 )
5 years ago
Orta Therox
9975169539
Update docs now the lang tools stuff is in prod ( #5081 )
5 years ago
Antony Jones
dc73b735ce
docs: clarify onMount with non-synchronous handlers ( #5053 )
5 years ago
Richard Harris
1644f207b1
make canvas example more fun
5 years ago
Ben McCann
34e87ce579
site: faq: svelte-preprocess is now an official project ( #4997 )
5 years ago
Matt Wolff
5b2b58f46f
docs: media binding tweaks ( #4967 )
5 years ago
Ben McCann
85dad45668
site: faq: document how to declare reactive variable type ( #4973 )
5 years ago
Roman Kosov
a4dadf82be
site: fix some mixed content ( #4926 )
5 years ago
Ben McCann
4124ec535e
site: update FAQ to point to svelte-check ( #4916 )
5 years ago
Alessandro (Ale) Segala
81b6c0b986
docs: adjust readable store example ( #4903 )
5 years ago
Daniel Imfeld
f624d6e292
docs: `value` cannot be set via spread for indirectly bound values ( #4832 )
5 years ago
Matt Wolff
97db5cc7f7
docs: add blur to list of svelte/transition exports
5 years ago
Ben McCann
745c777806
site: move .dev TLD info from FAQ to readme ( #4883 )
5 years ago
Robert Hall
7fe1384f43
Property "muted" for <audio> and <video> ( #4690 )
...
* Audio two-way `muted` bind property
Loosely based on a37ee81676
?w=1
* Documentation
* fix test
* dont bother coercing muted, it happens automatically
Co-authored-by: Richard Harris <richard.a.harris@gmail.com>
5 years ago
Billy Levin
0cd40b79c8
invalidate -> update ( #4793 )
5 years ago
pngwn
d5e95594e9
feat(site): add svelte syntax highlighting ( #4851 )
5 years ago
Ben McCann
5ac8a1d07a
docs: link to list of community preprocessors ( #4817 )
5 years ago
Antony Jones
9be3310431
site: add FAQs page ( #4823 )
5 years ago
Joseph Abrahamson
5efeeecee8
docs: clarify store contract type signature ( #4539 )
5 years ago
Daniel Imfeld
a658fedb83
docs/tests: use event.key instead of event.which ( #4758 )
5 years ago
JocelynLi
b3364424d7
docs: tweak tutorial/default-values wording ( #4600 )
5 years ago
MichalBednarczyk
edeeb05a6c
docs: {#each} with key but without index ( #4721 )
5 years ago
Antony Jones
0e61e51358
docs: add v2 site link ( #4745 )
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
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
Daniel Imfeld
cc3c7fa9f4
docs: fix CSS typo in example ( #4685 )
5 years ago
Conduitry
0d263cc1ea
docs: use Node.TEXT_NODE in more places
5 years ago
John Abraham
8ddb073199
docs: add note to tutorial on Capitalised component variable names ( #4505 )
5 years ago
Ademola
7be80e96c6
docs: make text node type in example more explicit ( #4663 )
5 years ago
Robin Cussol
ece61381de
fix(examples): hide "undefined" domain in HN example ( #4643 )
...
* fix(examples): hide "undefined" domain in HN example
This commit introduces a null-undefined check against the domain of the HN items in the Hacker News example.
* Update site/content/examples/21-miscellaneous/01-hacker-news/Item.svelte
Co-Authored-By: Antony Jones <ant@enzy.org>
Co-authored-by: Antony Jones <ant@enzy.org>
5 years ago
Robin Cussol
df3ae85b42
fix(examples): use correct URL for Ask HN posts ( #4640 )
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
Antony Jones
7831766fa0
site: turn fancybutton into custombutton ( #4476 )
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
Kevin Tewouda
2b3c2daafb
blog: svelte-for-new-developers: list commands for Windows ( #4391 )
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
Gautam krishna R
7ff0c83191
site: update instructions for jetbrains IDEs ( #4052 )
...
* Updated instruction for jetbrains IDEs
added instruction to use plugins instead of treating svelte as html
* Updated JetBrains WebStorm description
5 years ago
Vulwsztyn
fb6d570b92
tutorial 12.a inconsistency fix
...
Update of tutorial page 12.a making it match with "Show me" result
5 years ago
Yugo Ogura
11002c93fe
site: fix wrong link to tweened ( #4137 )
5 years ago
Sebastian Stephan
4e51d35dd8
site: fix link to realworld demo in blogpost ( #4028 )
...
* Fix link to realworld demo in blogpost
* link to repo instead
5 years ago
Rich Harris
193f9e1e1e
Merge pull request #3955 from joncfoo/patch-1
...
Document $: in the tutorial
5 years ago
Rich Harris
ae8684ffff
Update text.md
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
Jonathan Curran
d8e625c439
Document $: in the tutorial
...
This change re-words some of the prose so that the label syntax is spoken of in _unfamiliar_ terms rather than _alien_ as it is valid syntax and not some svelte-specific feature/functionality.
5 years ago
Rich Harris
0aceccc31b
Merge branch 'master' of github.com:sveltejs/svelte
5 years ago
Rich Harris
1dead6fa9d
typo
5 years ago
Rich Harris
5721ae3aeb
Merge pull request #3943 from Conduitry/gh-2505
...
site: add font fallback for Comic Sans MS
5 years ago
Rich Harris
a4658e2d42
document new media element bindings
5 years ago
AlexxNB
2285ee222a
fix 'action with param' example and tutorial
5 years ago
Conduitry
78eea640d3
site: add font fallback for Comic Sans MS ( #2505 )
5 years ago
Rich Harris
bbf47501d5
linux instructions
5 years ago
Rich Harris
5dfc7094d8
add blog post
5 years ago
Rich Harris
054f409950
better tutorial for parameterised actions ( #3930 )
...
* better tutorial for parameterised actions
* update example alongside tutorial
* update thumbnail
5 years ago
Rich Harris
331bb39c0a
Merge pull request #3826 from vascoosx/crud-example-update-fix
...
Fix crud example update error after searching
5 years ago
Rich Harris
3889ec499e
simpler fix
5 years ago
Tan Li Hau
b382b9a9c6
add loopGuardTimeout options
5 years ago
Shakhbulat Gazgireev
31a81d3553
Site: add editor file association instructions ( #3888 )
5 years ago
Richard Harris
1dfd42c3f4
tweak wording
5 years ago
Richard Harris
98c76ec7e8
Merge branch 'master' of https://github.com/SrZorro/svelte into SrZorro-master
5 years ago
Rich Harris
0f602a17c2
Merge pull request #3874 from el1f/example-logotype
...
✏️ outdated logotype on svg-transition example
5 years ago
Rich Harris
7ab26f872b
Make font-weight 400, add to stylesheet
5 years ago
Conduitry
de80ae72c3
site: clarify bind component prop docs ( #3484 )
5 years ago
Alex Simonides
a83b2fa6d7
#3864 : Update Penner easing functions link ( #3865 )
5 years ago
Ayoub
752c09cf53
✏️ outdated logotype on svg-transition example
5 years ago
Rich Harris
e467c92564
fix logo-mask url, remove unused file
5 years ago
Fox
b750aaa46d
site/tutorials - Added extra explanation for object reactivity
5 years ago
Leonardo Di Vittorio
1b8a1b22a6
fix: svelte-logo-mask correct file name
5 years ago
red-meadow
3174d3cc59
Minor tutorial fix ( #3843 )
5 years ago
Shunichi Hato
b704531a2e
Make selection reactive with search
5 years ago
Shunichi Hato
4918faf605
Fix crud example update error when filtering
...
because the index `i` in update refers to the index in the original
5 years ago
Rich Harris
1324a57786
oops, remove some debugging code
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
Richard Harris
e55bf4013d
remove some unused code
5 years ago
Richard Harris
fe3412828c
make modal more accessible
5 years ago
Richard Harris
1b245a48c2
Merge branch 'patch-1' of https://github.com/SteveALee/svelte into SteveALee-patch-1
5 years ago
Steve Lee
1668316621
Fix script end tag
5 years ago
pngwn
7c445093fb
Document bind:playbackRate in the API documentation. Closes #3806 .
5 years ago
Steve Lee
1e55d46bc0
Add Key handling to modal example
...
This is a basic accessibility requirement for key access
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
Aaron George
36ca311500
FIXED: Media Elements Tutorial
...
* FIXED: Seeking
Seeking was being caused on the mousemove event, regardless of if the mouse was actually dragging or not
5 years ago
Aaron George
231fbfa020
FIXED: Media Elements Example
...
Seeking was happening regardless of if a drag was happening
5 years ago
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
6 years ago
Richard Harris
9a0a2e2a52
Merge branch 'patch-1' of https://github.com/RAYDENFilipp/svelte into RAYDENFilipp-patch-1
6 years ago
Rich Harris
695ace3665
Update 03-run-time.md
6 years ago
Rich Harris
8851d79533
put second argument section back with its code sample
6 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.
6 years ago
craigglennie
0a3818fb9b
Don't use shorthand binding in textarea example ( #3256 )
6 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.
6 years ago
Conduitry
35f81b279f
site: document store contract ( #3261 )
6 years ago
Conduitry
323e2fa4ae
site: fix setting-up-your-editor blog post crashing the server
6 years ago
Lyndsy Simon
d9c45819a3
Add instructions for setting filetype in Vim
6 years ago
Luca Bonavita
0eb86d2a13
The element on: directive anchorwas pointing to the component on: directive anchor.
...
Fixes #3138
6 years ago
Rich Harris
80ef6f190d
Merge pull request #3127 from pngwn/3029-module-reactivity
...
Site: document that module script variables are not reactive. Closes …
6 years ago
Rich Harris
e05680d2e7
Update 01-component-format.md
6 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.
6 years ago
pngwn
e0ac393a76
Site: document that module script variables are not reactive. Closes #3029 .
6 years ago
Rich Harris
68c8030d08
Merge pull request #3121 from Ding-Fan/patch-2
...
change "item" to "thing"
6 years ago
范鼎
b9cdadcd22
change "item" to "thing"
...
The text in the button is "Remove first thing".
6 years ago
mellisdesigns
39760b70f8
documentation - binding this remove 256 canvas size
6 years ago
Rich Harris
9806d18bdb
Update 03-run-time.md
6 years ago
Bryan Terce
5515bb49c9
Fix docs typo with derived store
6 years ago
Rich Harris
6e6a675c67
tweak docs a bit
6 years ago
Rich Harris
820490fb4d
add a tutorial chapter
6 years ago
Rich Harris
86c5086c54
add some docs, rename to textContent and innerHTML
6 years ago
Luca Bonavita
0b836872cf
Use consistent tag closing for <svelte:*> elements
...
Fixes #3061
6 years ago
Luca Bonavita
a7dd227336
Docs: document rest in array/object destructuring in each blocks ( #2676 )
6 years ago
igoradamenko
5d51d50613
site: reuse `layers` variable in window bindings tutorial
6 years ago
Richard Harris
d270542aee
merge master -> doc-restructure
6 years ago
Conduitry
87d4ac55c9
site: fix css-in-js blog embed, pt II
6 years ago
Conduitry
c24fc92d2f
site: fix css-in-js blog embed
6 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.
6 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
Peter Varholak
481ac14e7e
Fix setup command in getting started blog
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
Rich Harris
8c9da2fa85
Merge branch 'docs/2640' of https://github.com/varholak-peter/svelte into varholak-peter-docs/2640
6 years ago
Conduitry
3cfbd66841
site: fix enter handling in animate example
6 years ago
Hongarc
66e39d52d4
Remove whitespace at end of line
6 years ago
Peter Varholak
85073dbb72
add @debug API docs
6 years ago
Conduitry
011b33181e
site: fix immutable tutorial and example on Firefox ( #2601 )
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
Rich Harris
9dbd99b85d
Merge pull request #2741 from pngwn/master
...
Update animate example to use animate directive and built-in crossfad…
6 years ago
Rich Harris
b62328d6a7
Update App.svelte
6 years ago
Rich Harris
b64f570e2e
Merge pull request #2739 from membranophonist/patch-1
...
Replace tag with attribute for alt
6 years ago
Rich Harris
8c553706ab
Merge pull request #2740 from membranophonist/patch-2
...
Pluralize elements
6 years ago
Rich Harris
26a67a6ac4
Update text.md
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
pngwn
1b4446030b
Update animate example to use animate directive and built-in crossfade function.
6 years ago
Daniel J. Wilson
66a4c1a9bc
Pluralize elements
6 years ago
Daniel J. Wilson
5e8383cf37
Replace tag with attribute for alt
...
Being an attribute, alt should be mentioned as such.
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
James Robey
c954e84727
Make modal example more obvious
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
Rich Harris
0f07accadb
Merge pull request #2657 from lode/patch-1
...
Clarify when sanitization is done and when not
6 years ago
Rich Harris
7bf207f825
Update text.md
6 years ago
pngwn
2bfe477dea
Site: Briefly mention intro:true in the transition directive section.
6 years ago
Lode Claassen
1df741a374
clarify when sanitization is done and when not
6 years ago
Rich Harris
85b1850b77
Move some stuff into @sveltejs/site-kit
6 years ago
Conduitry
d0d54b792a
update links to new Sapper site
6 years ago
Scotty Simpson
d53fd611f3
clarify autosubscription scope requirement ( #2653 )
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
raveling
511060ba94
improve referencing to code editor for mobile readers ( #2632 )
...
* improve referencing to code editor for mobile readers
The current documentation mentions "to the right" which is not accurate for people reading the tutorial on narrow-viewport devices.
I changed it to "the code editor", but this may be improved upon to match other more common references.
* typo
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
Vidar Tysse
1ba42435ac
Typo
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
Emil Tholin
5ab4a6c2f8
Fix typo in 10-transitions/07-local-transitions/text.md
6 years ago
Kevin McGee
2d5b27b643
For want of a word...
...
_as_ you like it...
6 years ago
Rich Harris
bf51befb54
Merge pull request #2558 from enstyled/patch-1
...
Update tutorial video chapter assets URLs with HTTPS
6 years ago
Eric Brookfield
1d61e48490
e.g. -> for example
...
*E.g.* is an English language idiom that can be said in a plainer way, easier for non-native speakers to understand.
Personal preference is to use plainer language when possible, but I wouldn't be offended if this were rejected.
6 years ago
Emil Nikov
a3378466d3
Update assets URL in the code snippet
...
The assets are not loading when copy/pasting it in the editor, due to protocol mismatch.
6 years ago
Richard Harris
14ece6e789
simplify example further
6 years ago
Richard Harris
5c06d5ecf5
Merge branch 'patch-3' of https://github.com/CreaturesInUnitards/svelte into CreaturesInUnitards-patch-3
6 years ago
Rich Harris
f38678673c
Merge pull request #2517 from CreaturesInUnitards/patch-4
...
add multiple class toggles example
6 years ago
Rich Harris
b111785184
Merge pull request #2523 from sw-yx/patch-1
...
[updating docs] update quick start instructions
6 years ago
Rich Harris
5b453ed569
Merge pull request #2524 from sveltejs/gh-2447
...
Move embedded REPL contents into examples
6 years ago
Allan Tito
e1b2d5dc28
Update text.md, line 34 ( #2541 )
...
* Added comma
* Update text.md; added comma
6 years ago
Allan Tito
0d5c2466a7
Added comma
6 years ago
Vytautas Jakutis
1f8afcb37e
site: docs: fix a typo in HTML example in template syntax
6 years ago
swyx
7b632182c3
update quick start instructions
...
since the front page links to this slightly out of date blogpost - i copied over and updated instructions so otherse wont be as confused as i was...
6 years ago
Conduitry
e49db5c65f
site: move write-less-code REPL embed into example
6 years ago
Conduitry
f2e1b0ea99
site: move svelte-css-in-js REPL embed into example
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
Scotty Simpson
9268db7338
simpler, more efficient example
6 years ago
Conduitry
e7885f2cb1
site: more link fixes in blog posts
6 years ago
Jesse Wicks
57735d4982
fix tutorial link
6 years ago
Scotty Simpson
96e3df1c79
typo
...
I'm very helpful
6 years ago
Jon Ross
bf6bd36e38
Update alt text to clarify "shorthand attributes"
...
Alternatively, `alt="A man dancing"` could also be removed with no detrimental side effects IMO.
6 years ago