Tan Li Hau
fa7c780bad
{#key} block ( #5397 )
...
Co-authored-by: Conduitry <git@chor.date>
2020-09-25 10:12:49 -04:00
Tan Li Hau
a1651ca271
add nonpassive event modifier ( #5442 )
...
Co-authored-by: filipot <filipot@stud.ntnu.no>
2020-09-24 15:54:54 -04:00
Simon H
4c135b0b8d
Update editor recommendations of old blog post ( #5434 )
2020-09-22 16:24:13 -07:00
Cal Jacobson
6c8bd6e5aa
Include link to VS Code extension in tutorial ( #5231 )
2020-09-20 20:49:18 -07:00
Shriji
bd2175b67b
Add list of books to FAQ ( #5404 )
2020-09-15 08:53:46 -07:00
infuzz
5f422d8ddb
Link to more video courses in FAQ ( #5396 )
...
Co-authored-by: Ben McCann <322311+benmccann@users.noreply.github.com>
2020-09-15 08:49:07 -07:00
lonevox
3255f8b662
site: change "on to" to "onto" in tutorial 03 ( #5386 )
2020-09-11 17:51:59 -04:00
Eugene Hwang
ae971f80ae
docs: adjust explanations of $$props
and $$restProps
( #5368 )
2020-09-10 15:31:28 -04:00
Cam Jackson
80e474a244
site: Replace "active" with "selected" as an example class name ( #5309 )
2020-09-10 15:28:59 -04:00
Simon H
8adb47401e
site: Fix blog JS type checking suggestion ( #5306 )
2020-08-26 10:10:21 -04:00
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>
2020-08-12 13:11:43 -07:00
Luca Bonavita
8f17d6c78c
docs: document bind:files
( #5141 )
2020-08-12 16:05:59 -04:00
Ben McCann
1398affa53
Update TypeScript blog post with info about Sapper ( #5249 )
2020-08-07 15:01:58 -07:00
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>
2020-08-07 12:16:10 +01:00
Charles Rosaaen
231e4a0b3c
site: update link in blog for SCode extension ( #5232 )
2020-08-03 15:48:35 -04:00
João Paulo
a0ed7040f1
site: clarify file -> module in <svelte:self> tutorial ( #5171 )
2020-07-30 11:43:45 -04:00
Conduitry
f4f16da455
site: use relative link to tutorial in FAQ entry
2020-07-28 16:39:17 -04:00
rmacklin
40987b7780
site: update links in the Sapper intro blog post ( #5189 )
2020-07-23 20:10:41 -04:00
Rich Harris
4b7c16e33a
tweak blog post anchor style to be less noisy
2020-07-21 10:54:34 -04:00
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>
2020-07-21 10:28:26 -04:00
Luca Bonavita
c31a4b56d0
site: rephrase to clarify that actions can have just one parameter.
...
Closes #5173
2020-07-21 15:12:59 +01:00
Lev Maximov
fd0b47d0da
site: use https in link in blog ( #5148 )
2020-07-14 16:13:19 -04:00
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.
2020-07-14 18:27:42 +01:00
Orta Therox
8a8177b897
site: add FAQ entry for how to document a svelte component ( #5131 )
2020-07-13 11:46:24 -04:00
Luca Bonavita
c2788de652
site: remove an obsolete TODO in blog post ( #5135 )
2020-07-13 11:40:33 -04:00
Adam Ho
b56829c7b8
site: fix blog typo ( #5090 )
2020-06-30 10:44:44 -04:00
Orta Therox
9975169539
Update docs now the lang tools stuff is in prod ( #5081 )
2020-06-28 09:05:04 -04:00
Antony Jones
dc73b735ce
docs: clarify onMount with non-synchronous handlers ( #5053 )
2020-06-23 10:53:49 -04:00
Richard Harris
1644f207b1
make canvas example more fun
2020-06-16 08:16:28 -04:00
Ben McCann
34e87ce579
site: faq: svelte-preprocess is now an official project ( #4997 )
2020-06-09 19:21:03 -04:00
Matt Wolff
5b2b58f46f
docs: media binding tweaks ( #4967 )
2020-06-08 10:49:14 -04:00
Ben McCann
85dad45668
site: faq: document how to declare reactive variable type ( #4973 )
2020-06-08 09:03:07 -04:00
Roman Kosov
a4dadf82be
site: fix some mixed content ( #4926 )
2020-05-29 10:10:19 -04:00
Ben McCann
4124ec535e
site: update FAQ to point to svelte-check ( #4916 )
2020-05-27 13:01:14 -04:00
Alessandro (Ale) Segala
81b6c0b986
docs: adjust readable store example ( #4903 )
2020-05-25 16:56:31 -04:00
Daniel Imfeld
f624d6e292
docs: value
cannot be set via spread for indirectly bound values ( #4832 )
2020-05-21 16:37:29 -04:00
Matt Wolff
97db5cc7f7
docs: add blur to list of svelte/transition exports
2020-05-21 16:33:58 -04:00
Ben McCann
745c777806
site: move .dev TLD info from FAQ to readme ( #4883 )
2020-05-21 16:29:55 -04:00
Robert Hall
7fe1384f43
Property "muted" for <audio> and <video> ( #4690 )
...
* Audio two-way `muted` bind property
Loosely based on a37ee81676
* Documentation
* fix test
* dont bother coercing muted, it happens automatically
Co-authored-by: Richard Harris <richard.a.harris@gmail.com>
2020-05-18 21:37:03 -04:00
Billy Levin
0cd40b79c8
invalidate -> update ( #4793 )
2020-05-17 12:04:37 -04:00
pngwn
d5e95594e9
feat(site): add svelte syntax highlighting ( #4851 )
2020-05-17 12:03:22 -04:00
Ben McCann
5ac8a1d07a
docs: link to list of community preprocessors ( #4817 )
2020-05-13 07:53:06 -04:00
Antony Jones
9be3310431
site: add FAQs page ( #4823 )
2020-05-13 07:49:25 -04:00
Joseph Abrahamson
5efeeecee8
docs: clarify store contract type signature ( #4539 )
2020-05-03 12:13:15 -04:00
Daniel Imfeld
a658fedb83
docs/tests: use event.key instead of event.which ( #4758 )
2020-05-01 19:34:54 -04:00
JocelynLi
b3364424d7
docs: tweak tutorial/default-values wording ( #4600 )
2020-04-29 17:19:21 -04:00
MichalBednarczyk
edeeb05a6c
docs: {#each} with key but without index ( #4721 )
2020-04-29 15:48:45 -04:00
Antony Jones
0e61e51358
docs: add v2 site link ( #4745 )
2020-04-29 15:38:58 -04:00
Conduitry
35a910eea2
docs: fix link to animate section
2020-04-29 15:17:29 -04:00
Eddy
75ae49312f
docs: fix link to transition section ( #4748 )
2020-04-29 15:14:55 -04:00
Daniel Imfeld
676d57b5f7
docs: clarify that all elements in an outroing block remain until the transition finishes ( #4684 )
2020-04-24 09:20:31 -04:00
pushkin
467fc84d7d
docs: mention |self modifier in reference section ( #4709 )
2020-04-23 09:08:42 -04:00
Daniel Imfeld
cc3c7fa9f4
docs: fix CSS typo in example ( #4685 )
2020-04-18 06:38:36 -04:00
Conduitry
0d263cc1ea
docs: use Node.TEXT_NODE in more places
2020-04-12 13:30:39 -04:00
John Abraham
8ddb073199
docs: add note to tutorial on Capitalised component variable names ( #4505 )
2020-04-12 13:25:32 -04:00
Ademola
7be80e96c6
docs: make text node type in example more explicit ( #4663 )
2020-04-12 13:17:54 -04:00
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>
2020-04-07 09:30:48 -04:00
Robin Cussol
df3ae85b42
fix(examples): use correct URL for Ask HN posts ( #4640 )
2020-04-07 09:30:33 -04:00
Tim Gates
89f30dae36
docs: Fix simple typo, specificy -> specify ( #4637 )
2020-04-06 06:45:27 -04:00
Tan Li Hau
91d758e35b
introduce $$restProps ( #4489 )
2020-03-09 22:22:39 -04:00
keke
48721520bd
docs: fix self-closing <svelte:options> tag ( #4524 )
2020-03-08 09:36:11 -04:00
Conduitry
addea43e4f
docs: describe falsy and nullish attribute behavior ( #4498 )
2020-03-02 09:01:00 -05:00
Conduitry
f244b80f7a
docs: referenced_from_script var value ( #4486 )
2020-02-28 23:07:34 -05:00
Jesse Skinner
20e079007c
docs: clarify default prop behaviour ( #4460 )
2020-02-28 08:47:21 -05:00
Antony Jones
7831766fa0
site: turn fancybutton into custombutton ( #4476 )
2020-02-27 06:40:42 -05:00
Matthew Dempsky
a53da7e4b0
site: clearer examples for <slot let:name> ( #4125 )
2020-02-22 23:40:07 -05:00
Jesse Skinner
c992f7a2d2
docs: reword to avoid "outroing" ( #4434 )
2020-02-20 08:49:34 -05:00
Kevin Tewouda
2b3c2daafb
blog: svelte-for-new-developers: list commands for Windows ( #4391 )
2020-02-15 12:35:54 -05:00
PKlknr
7fdae5f8a8
docs: add await in front of preprocess examples ( #4404 )
2020-02-12 08:45:06 -05:00
Conduitry
83d461f537
site: clarify preserveWhitespace ( #4341 )
...
* site: clarify preserveWhitespace
* Update 04-compile-time.md
Co-authored-by: Rich Harris <richard.a.harris@gmail.com>
2020-01-31 14:55:13 -05:00
Wolfr
70d1795088
site: Remove WIP message, but still reference the chat room. ( #4329 )
2020-01-27 14:41:18 -05:00
Conduitry
3ba4f8abca
site: fix a couple absolute links
2020-01-22 20:11:45 -05:00
Conduitry
7494509dfd
only attach SSR <head> markers when hydratable: true ( #4260 )
2020-01-14 12:11:52 -05:00
Kevin Åberg Kultalahti
3d9655a2a1
site: add documentation for global keyframes ( #4232 )
2020-01-08 17:19:19 -05:00
Conduitry
14154fce36
site: document Observable interop ( #2571 )
2020-01-07 17:26:57 -05:00
Conduitry
252ec8ceca
site: missing space
2020-01-07 16:37:14 -05:00
trbrc
45933f9700
site: Clearer documentation of store contract ( #4216 )
2020-01-07 15:07:07 -05:00
Josh Duff
00e39c767a
site: Explain how each blocks work a bit more ( #4118 )
2020-01-06 17:59:31 -05:00
Thomas Ferro
fe750d2606
Doc ( #4172 ): Fixing the unclear slot with fallback content example
2020-01-05 16:08:46 -05:00
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
2020-01-05 06:32:06 -05:00
Vulwsztyn
fb6d570b92
tutorial 12.a inconsistency fix
...
Update of tutorial page 12.a making it match with "Show me" result
2019-12-21 22:01:59 -05:00
Yugo Ogura
11002c93fe
site: fix wrong link to tweened ( #4137 )
2019-12-21 05:01:35 -05:00
Sebastian Stephan
4e51d35dd8
site: fix link to realworld demo in blogpost ( #4028 )
...
* Fix link to realworld demo in blogpost
* link to repo instead
2019-12-04 12:57:23 -05:00
Rich Harris
193f9e1e1e
Merge pull request #3955 from joncfoo/patch-1
...
Document $: in the tutorial
2019-11-29 21:12:33 -05:00
Rich Harris
ae8684ffff
Update text.md
2019-11-29 21:11:44 -05:00
Conduitry
3d0a5f8c37
site: update links to rollup-plugin-svelte repo
2019-11-25 13:30:36 -05:00
Richard Harris
d1146281ef
only mention official plugins, link to integrations for others. closes #3970
2019-11-23 18:34:58 -05:00
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.
2019-11-19 17:49:46 +01:00
Rich Harris
0aceccc31b
Merge branch 'master' of github.com:sveltejs/svelte
2019-11-18 10:52:04 -05:00
Rich Harris
1dead6fa9d
typo
2019-11-18 10:52:02 -05:00
Rich Harris
5721ae3aeb
Merge pull request #3943 from Conduitry/gh-2505
...
site: add font fallback for Comic Sans MS
2019-11-18 10:45:39 -05:00
Rich Harris
a4658e2d42
document new media element bindings
2019-11-18 10:43:05 -05:00
AlexxNB
2285ee222a
fix 'action with param' example and tutorial
2019-11-18 12:47:30 +03:00
Conduitry
78eea640d3
site: add font fallback for Comic Sans MS ( #2505 )
2019-11-17 17:22:21 -05:00
Rich Harris
bbf47501d5
linux instructions
2019-11-15 17:54:04 -05:00
Rich Harris
5dfc7094d8
add blog post
2019-11-15 16:19:51 -05:00
Rich Harris
054f409950
better tutorial for parameterised actions ( #3930 )
...
* better tutorial for parameterised actions
* update example alongside tutorial
* update thumbnail
2019-11-15 12:03:15 -05:00
Rich Harris
331bb39c0a
Merge pull request #3826 from vascoosx/crud-example-update-fix
...
Fix crud example update error after searching
2019-11-14 16:55:42 -05:00
Rich Harris
3889ec499e
simpler fix
2019-11-14 16:55:34 -05:00
Tan Li Hau
b382b9a9c6
add loopGuardTimeout options
2019-11-11 22:50:48 +08:00
Shakhbulat Gazgireev
31a81d3553
Site: add editor file association instructions ( #3888 )
2019-11-10 08:16:39 -05:00
Richard Harris
1dfd42c3f4
tweak wording
2019-11-09 15:07:01 -05:00
Richard Harris
98c76ec7e8
Merge branch 'master' of https://github.com/SrZorro/svelte into SrZorro-master
2019-11-09 15:01:53 -05:00
Rich Harris
0f602a17c2
Merge pull request #3874 from el1f/example-logotype
...
✏️ outdated logotype on svg-transition example
2019-11-09 14:57:48 -05:00
Rich Harris
7ab26f872b
Make font-weight 400, add to stylesheet
2019-11-09 14:57:14 -05:00
Conduitry
de80ae72c3
site: clarify bind component prop docs ( #3484 )
2019-11-09 14:32:22 -05:00
Alex Simonides
a83b2fa6d7
#3864 : Update Penner easing functions link ( #3865 )
2019-11-09 14:09:47 -05:00
Ayoub
752c09cf53
✏️ outdated logotype on svg-transition example
2019-11-08 02:24:34 +01:00
Rich Harris
e467c92564
fix logo-mask url, remove unused file
2019-11-06 11:49:40 -05:00
Fox
b750aaa46d
site/tutorials - Added extra explanation for object reactivity
2019-11-06 15:42:59 +01:00
Leonardo Di Vittorio
1b8a1b22a6
fix: svelte-logo-mask correct file name
2019-11-06 15:20:51 +01:00
red-meadow
3174d3cc59
Minor tutorial fix ( #3843 )
2019-11-03 09:25:46 -05:00
Shunichi Hato
b704531a2e
Make selection reactive with search
2019-11-03 13:58:35 +09:00
Shunichi Hato
4918faf605
Fix crud example update error when filtering
...
because the index `i` in update refers to the index in the original
2019-10-31 17:28:56 +09:00
Rich Harris
1324a57786
oops, remove some debugging code
2019-10-29 12:55:41 -04:00
Rich Harris
e931a56854
Merge pull request #3762 from sveltejs/gh-3761
...
allow spring/tweened values to be initially undefined
2019-10-28 07:18:12 -04:00
Richard Harris
e8f5b24143
docs and a fix for #3761
2019-10-27 21:10:12 -04:00
Richard Harris
e55bf4013d
remove some unused code
2019-10-27 18:36:19 -04:00
Richard Harris
fe3412828c
make modal more accessible
2019-10-27 18:26:06 -04:00
Richard Harris
1b245a48c2
Merge branch 'patch-1' of https://github.com/SteveALee/svelte into SteveALee-patch-1
2019-10-27 18:24:32 -04:00
Steve Lee
1668316621
Fix script end tag
2019-10-27 18:44:57 +00:00
pngwn
7c445093fb
Document bind:playbackRate in the API documentation. Closes #3806 .
2019-10-27 09:13:33 -04:00
Steve Lee
1e55d46bc0
Add Key handling to modal example
...
This is a basic accessibility requirement for key access
2019-10-26 23:53:13 +01:00
Alessandro (Ale) Segala
8c0c15c3aa
Fixed anchor link in documentation
2019-10-24 08:14:47 -04:00
Paul Murray
d91e9afab6
Fixes #3008 : Better SSR docs
2019-10-22 20:49:03 -04:00
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
2019-10-16 15:29:53 -04:00
Aaron George
231fbfa020
FIXED: Media Elements Example
...
Seeking was happening regardless of if a drag was happening
2019-10-16 15:20:04 -04:00
adrian5
565931dff9
Doc: update file-type association instructions for Atom
2019-10-12 16:45:45 -04:00
Josh Duff
e4d7f77453
site: add missing word
2019-10-12 08:19:55 -04:00
Conduitry
8d5b7e0ef3
site: tidy a few markdown code block languages
2019-10-12 08:04:03 -04:00
Conduitry
0d20fb9b8d
site: fix unknown syntax highlighting language in blog post
2019-10-11 22:23:28 -04:00
Sercan Eraslan
c7cc6a55cf
Fix: dimensions example overflow problem
2019-10-11 20:13:32 -04:00
adrian5
dcfe9f6b78
Doc: add file-type association instructions for Atom
2019-10-11 20:11:51 -04:00
Sercan Eraslan
8206c27c0a
Fix: lifecycle update example overflow problem
2019-10-09 13:02:00 -04:00
Infant Frontender
77e3605c39
Fix typo
...
customElements -> customElement
2019-10-04 08:50:10 -04:00
Jack Beegan
44447003a9
Fix minor error in API docs of draw
2019-09-21 11:26:27 -04:00
Elliot Waite
0040f34c5c
Fix a typo in 04-compile-time.md.
2019-09-18 18:38:34 -04:00
Conduitry
14a46a17d0
fix the rest of the typo
2019-09-11 10:21:41 -04:00
Bartosz Trzos
4b7e2a09c9
Fix a typo
...
Fix inconsistency with the app
2019-09-11 10:15:31 -04:00
mattstobbs
c250793b35
Fix animate example ( #3543 )
2019-09-10 09:08:44 -04:00
Richard Harris
db5cea146f
document blur transition
2019-09-07 15:25:30 -04:00
Rich Harris
5346b378e3
tweak explanation
2019-09-07 14:58:58 -04:00
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
2019-09-05 11:11:04 -04:00
Reto Trinkler
b1a8c96e18
Remove unnecessary code in "bind-this" example
...
In https://svelte.dev/examples#bind-this some code is superfluous
2019-09-05 07:59:00 -04:00
Conduitry
1ab3dcb342
use assets served from github pages
2019-09-04 08:06:55 -04:00
Gonzalo Fernández-Victorio
c470d00489
Fix small typo
...
The name of the prop is current, not value. With value, fails
2019-08-31 08:44:24 -04:00
Richard Harris
08be15e3ae
add some more CE docs
2019-08-18 20:15:26 -04:00
Richard Harris
de24efd3b8
small fix
2019-08-18 20:08:17 -04:00
Richard Harris
b23839fb5f
add custom element documentation
2019-08-18 19:55:35 -04:00
Rich Harris
120ee28c4f
Merge pull request #3416 from sveltejs/better-keyed-each-example
...
better keyed each example
2019-08-16 14:01:41 -04:00