Daniel J. Wilson
5e8383cf37
Replace tag with attribute for alt
...
Being an attribute, alt should be mentioned as such.
2019-05-11 23:42:32 -04:00
Conduitry
80fe0e9cdb
site: add /chat redirect to Discord ( #2708 )
2019-05-07 20:54:44 -04:00
Conduitry
f7978b234a
site: document export-as ( #2559 )
2019-05-07 08:49:54 -04:00
pngwn
7a7804be49
Document animations. #2532
2019-05-05 16:18:09 +01:00
James Robey
c954e84727
Make modal example more obvious
2019-05-05 17:06:10 +07:00
Michael Braun
ac24817ef0
Clarifying let
needs to be used on exported properties, in order for them to be passed in
2019-05-04 21:01:01 +02:00
Richard Harris
4ef1a2d623
document new spring options
2019-05-04 12:14:07 -04:00
Rich Harris
ba91810b0b
Merge pull request #2672 from sveltejs/gh-2661
...
expose svelte.walk
2019-05-04 11:22:25 -04:00
Conduitry
54a8eb9fd4
expose svelte.walk ( #2661 )
2019-05-04 10:38:30 -04:00
Conduitry
df448cb36a
document svelte.parse
2019-05-04 07:29:36 -04:00
Rich Harris
cfb22e4a10
Merge pull request #2633 from zlsa/patch-2
...
Add barebones description of `svelte/register`
2019-05-03 23:43:30 -04:00
Rich Harris
8f2ccc407e
flesh out svelte/register docs
2019-05-03 23:43:18 -04:00
Rich Harris
0f07accadb
Merge pull request #2657 from lode/patch-1
...
Clarify when sanitization is done and when not
2019-05-03 23:24:16 -04:00
Rich Harris
7bf207f825
Update text.md
2019-05-03 23:24:00 -04:00
pngwn
2bfe477dea
Site: Briefly mention intro:true in the transition directive section.
2019-05-03 00:49:46 +01:00
Lode Claassen
1df741a374
clarify when sanitization is done and when not
2019-05-02 21:49:42 +02:00
Rich Harris
85b1850b77
Move some stuff into @sveltejs/site-kit
2019-05-02 11:37:18 -04:00
Conduitry
d0d54b792a
update links to new Sapper site
2019-05-02 11:25:34 -04:00
Scotty Simpson
d53fd611f3
clarify autosubscription scope requirement ( #2653 )
2019-05-02 11:24:43 -04:00
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
2019-04-30 21:51:51 -04:00
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
2019-04-30 21:46:28 -04:00
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.
2019-04-30 17:30:14 -07:00
pngwn
60e73c41dc
Document svelte/animate - flip.
2019-04-29 18:47:35 -04:00
pngwn
764f71c30d
Site: Document createEventDispatcher. ( #2583 )
2019-04-29 23:17:13 +01:00
Andrei Eftimie
e0bebb56a9
Site: Fix slot typo in docs
2019-04-28 09:51:37 -04:00
Vidar Tysse
1ba42435ac
Typo
2019-04-27 07:19:29 -04:00
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.
2019-04-26 21:55:42 +02:00
Emil Tholin
5ab4a6c2f8
Fix typo in 10-transitions/07-local-transitions/text.md
2019-04-26 13:10:45 -04:00
Kevin McGee
2d5b27b643
For want of a word...
...
_as_ you like it...
2019-04-25 19:59:47 -07:00
Rich Harris
bf51befb54
Merge pull request #2558 from enstyled/patch-1
...
Update tutorial video chapter assets URLs with HTTPS
2019-04-25 22:38:22 -04:00
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.
2019-04-25 16:01:02 -04:00
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.
2019-04-25 09:55:46 +02:00
Richard Harris
14ece6e789
simplify example further
2019-04-24 23:34:12 -04:00
Richard Harris
5c06d5ecf5
Merge branch 'patch-3' of https://github.com/CreaturesInUnitards/svelte into CreaturesInUnitards-patch-3
2019-04-24 23:27:00 -04:00
Rich Harris
f38678673c
Merge pull request #2517 from CreaturesInUnitards/patch-4
...
add multiple class toggles example
2019-04-24 21:59:53 -04:00
Rich Harris
b111785184
Merge pull request #2523 from sw-yx/patch-1
...
[updating docs] update quick start instructions
2019-04-24 21:57:51 -04:00
Rich Harris
5b453ed569
Merge pull request #2524 from sveltejs/gh-2447
...
Move embedded REPL contents into examples
2019-04-24 21:56:57 -04:00
Allan Tito
e1b2d5dc28
Update text.md, line 34 ( #2541 )
...
* Added comma
* Update text.md; added comma
2019-04-24 10:20:41 -04:00
Allan Tito
0d5c2466a7
Added comma
2019-04-24 10:20:09 -04:00
Vytautas Jakutis
1f8afcb37e
site: docs: fix a typo in HTML example in template syntax
2019-04-24 10:19:24 -04:00
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...
2019-04-23 14:50:45 -04:00
Conduitry
e49db5c65f
site: move write-less-code REPL embed into example
2019-04-23 14:49:48 -04:00
Conduitry
f2e1b0ea99
site: move svelte-css-in-js REPL embed into example
2019-04-23 14:49:25 -04:00
Scotty Simpson
644c02eb54
is-admin => isAdmin
2019-04-23 09:39:49 -07:00
Scotty Simpson
1865710095
add multiple class toggles example
...
This answers the immediate question I had when I first saw the `class:foo` syntax.
2019-04-23 08:40:03 -07:00
Scotty Simpson
9268db7338
simpler, more efficient example
2019-04-23 07:35:11 -07:00
Conduitry
e7885f2cb1
site: more link fixes in blog posts
2019-04-23 06:42:47 -04:00
Jesse Wicks
57735d4982
fix tutorial link
2019-04-23 06:06:29 -04:00
Scotty Simpson
96e3df1c79
typo
...
I'm very helpful
2019-04-23 06:05:49 -04:00
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.
2019-04-22 17:41:27 -04:00
Conduitry
e039cabbaa
site: fix another link ( #2497 )
2019-04-22 17:16:46 -04:00
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
2019-04-22 12:51:19 -04:00
rqrqrqrq
bda6aff09c
Docs fix ( #2488 )
2019-04-22 12:13:30 -04:00
Richard Harris
0b54fa9537
add video to blog post, remove draft flag
2019-04-22 07:03:43 -04:00
Richard Harris
7a3e87c75e
remove superfluous example
2019-04-21 20:41:50 -04:00
Richard Harris
115d10bd18
update references to svelte.technology - fixes #2450
2019-04-21 11:17:10 -04:00
Richard Harris
906ccb6d84
draft announcement blog post
2019-04-20 22:52:11 -04:00
Richard Harris
190d86701c
Merge branch 'master' into announcement
2019-04-20 21:20:31 -04:00
Richard Harris
baf0d8ff23
remove draft flag
2019-04-20 18:50:07 -04:00
Richard Harris
90b2997263
tweak blog post
2019-04-20 18:49:45 -04:00
Richard Harris
4bf5f63086
huh, React yells if you use onInput instead of onChange
2019-04-20 16:26:10 -04:00
Richard Harris
099e3d7eed
add draft write-less-code blog post
2019-04-20 16:14:26 -04:00
Richard Harris
3a9d3c44d1
Merge branch 'setting-up-your-editor'
2019-04-20 09:22:58 -04:00
Richard Harris
bbef9918e5
mark post as draft
2019-04-20 09:22:49 -04:00
Rich Harris
11885e4d83
Merge pull request #2426 from sveltejs/svelte-for-new-developers
...
placeholder for svelte-for-new-developers blog post
2019-04-20 09:21:07 -04:00
Richard Harris
fae3757eff
make placeholder post presentable
2019-04-20 09:18:20 -04:00
Richard Harris
759db36e30
add mechanism for draft blog posts
2019-04-20 09:15:04 -04:00
Gabswim
0b706e24cb
typo in tutorial
2019-04-19 21:20:03 -04:00
Richard Harris
8c582abb10
start writing announcement blog post
2019-04-17 22:59:44 -04:00
Richard Harris
1c2d19b9c6
update docs
2019-04-17 09:13:54 -04:00
Richard Harris
6ad3c560a2
update tutorial for keyed each blocks
2019-04-17 09:12:13 -04:00
Rich Harris
bb10298f2c
update animate chapter
2019-04-16 18:35:56 -04:00
Richard Harris
b1737503f0
start updating deferred transition chapter
2019-04-16 09:00:55 -04:00
Rich Harris
f04225fa0f
document local transitions
2019-04-15 16:38:09 -04:00
Rich Harris
b815ac7be9
document store bindings and $foo += 1
2019-04-15 14:24:15 -04:00
Rich Harris
e4ed7183d2
placeholder for svelte-for-new-developers blog post
2019-04-15 14:01:41 -04:00
Rich Harris
0b28796fe2
placeholder for setting-up-your-editor blog post
2019-04-15 13:58:55 -04:00
Rich Harris
d6d9a5ee01
Merge pull request #2425 from sveltejs/gh-2423
...
update svelte:options tutorial chapter, remove example
2019-04-15 12:35:30 -04:00
Rich Harris
ab84aeef11
update svelte:options tutorial chapter, remove example
2019-04-15 12:29:02 -04:00
Rich Harris
d66b1d9a1e
tweak copy
2019-04-15 11:40:01 -04:00
Rich Harris
b176f9370a
add tutorial chapter for mutations - fixes #2243
2019-04-15 11:23:29 -04:00
Rich Harris
c5b401254c
Update examples and thumbnails
2019-04-15 09:10:17 -04:00
Richard Harris
520f69f7cb
document the accessors option - closes #2382
2019-04-14 23:04:32 -04:00
Conduitry
cad5bbafd4
site: fix deferred-transitions example
2019-04-14 12:51:54 -04:00
Richard Harris
55bec34a6e
Merge branch 'site-sidebar-level-4-headings' of https://github.com/mindrones/svelte into mindrones-site-sidebar-level-4-headings
2019-04-13 15:01:59 -04:00
Luca Bonavita
c474007c88
Add link to Mozilla docs about events bubbling and capture phase
...
Fixes #2393
2019-04-13 18:03:51 +01:00
Luca Bonavita
9a503f21b1
Add anchor to h5 and h6 too but don't show 'em in the sidebar.
2019-04-12 17:15:44 +01:00
Conduitry
3170edb158
add initial_value argument to derived store
2019-04-11 15:26:42 -04:00
Luca Bonavita
2778956612
Code blocks formatting. Fixes #2387
2019-04-09 21:00:45 +01:00
Conduitry
a605daceaa
derived docs fix
2019-04-09 11:29:59 -04:00
Rich Harris
8e78448a39
keep svelte prefix for compiler exports
2019-04-09 11:21:42 -04:00
Rich Harris
795d9b7e66
Fix pluralisation
2019-04-09 11:13:45 -04:00
Rich Harris
b68584ec2a
revert previous commit. just saw the rest of the PR, doh
2019-04-09 11:12:15 -04:00
Rich Harris
cec1d6cf2d
remove separate bind:this item (could also be a component, gets confusing)
2019-04-09 11:10:58 -04:00
Rich Harris
9a0b847455
Merge branch 'master' into site-headings-level-4
2019-04-09 11:09:04 -04:00
Rich Harris
cf095c4723
Merge pull request #2381 from sveltejs/gh-2380
...
add scale transition
2019-04-09 11:08:08 -04:00
Conduitry
6e46a18969
rename derive
to derived
2019-04-09 10:29:40 -04:00
Rich Harris
66d6feb8ef
add scale transition. closes #2380
2019-04-08 18:31:27 -04:00
Luca Bonavita
c88b28e207
Add more level 4 headings, fixes some typos
2019-04-07 21:25:20 +01:00
Richard Harris
56b6fb0607
fix readable examples in tutorial
2019-04-07 08:05:12 -04:00
Rich Harris
a42671fdc7
Update 03-run-time.md
...
tweak description of second argument to writable/readable
2019-04-07 08:02:37 -04:00
Pat Cavit
e93eb6fbb2
docs: fix incorrect readable store
...
Changed in f3cb540ce6
(first brought up in #2296 ), but the docs got missed.
2019-04-06 23:09:52 -07:00
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.
2019-04-06 13:47:06 +01:00
Vadim Cebaniuc
b161725a51
Fix typos in doc node-sass example
...
closes #2337
2019-04-02 14:43:40 -04:00
Pat Cavit
a68abb8a9a
docs: "proeprties" -> "properties"
2019-04-02 14:38:19 -04:00
Pat Cavit
4a75d93173
docs: remove hardcoded localhost link from API
2019-04-02 14:38:01 -04:00
Rich Harris
6ccd66468c
remove unused ctx/running variables
2019-03-30 07:33:20 -04:00
Rich Harris
68d6793c97
remove unused ctx/running variables
2019-03-30 07:33:02 -04:00
Hunter Perrin
94594eb298
Merge pull request #1 from hperrin/patch-2
...
Remove unused r variable.
2019-03-29 20:13:28 -07:00
Hunter Perrin
19f68f358b
Remove unused r variable.
2019-03-29 20:11:40 -07:00
Hunter Perrin
a85cc349b8
Remove unused r variable.
2019-03-29 20:10:40 -07:00
Rich Harris
a07eac432a
update API reference docs ( #2206 )
2019-03-29 21:49:31 -04:00
Richard Harris
143117054a
Merge branch 'master' of github.com:sveltejs/svelte
2019-03-29 08:44:35 -04:00
Richard Harris
200b82d8d0
add playbackRate to list of bindings in tutorial
2019-03-29 08:44:15 -04:00
Rich Harris
4be340bb57
fix example code
2019-03-29 08:28:29 -04:00
James
e76b9e779a
reverse readable stores arg order, fixes #2330
2019-03-28 21:56:11 +08:00
Rich Harris
99f041900b
Merge pull request #2288 from bdougherty/fix-media-element-tutorial
...
Fix media element tutorial
2019-03-24 21:41:19 -04:00
Rich Harris
88366b9ed2
typo
2019-03-23 20:56:27 -04:00
Brad Dougherty
1b3320d765
Update media urls to https
2019-03-21 19:41:33 -04:00
Richard Harris
fba4308036
dry out /repl/embed
2019-03-19 21:53:43 -04:00
Rich Harris
ad2924acb3
a few tweaks
2019-03-18 18:27:41 -04:00
Richard Harris
b3b8f4220c
various spring fixes, including #2167
2019-03-17 12:15:16 -04:00
Richard Harris
2edb5df09c
transfer over all the old examples worth keeping
2019-03-10 22:25:33 -04:00
Richard Harris
771d9eed06
update/remove some more stuff
2019-03-10 19:39:14 -04:00
Richard Harris
3b424fe660
7guis examples
2019-03-10 18:52:54 -04:00
Richard Harris
23eeddef66
tweak examples
2019-03-10 18:35:46 -04:00
Richard Harris
5bd43fba51
bones of an example index page
2019-03-10 15:53:01 -04:00
Richard Harris
217cd6c741
move example data into components
2019-03-10 13:15:56 -04:00
Rich Harris
4541d58798
Add a tutorial ( #2132 )
2019-03-10 09:30:29 -04:00
Conduitry
7e5b29c85e
repl: don't export time as prop in SVG Clock example
2019-02-23 12:23:28 -05:00
Richard Harris
a0e72db86a
fix crud example
2019-02-17 11:06:28 -05:00
Richard Harris
f863a5df30
fix flight booker example
2019-02-17 10:51:21 -05:00
Rich Harris
e6ed8ef49f
update site, including REPL, to use .svelte
2019-02-08 20:58:18 -05:00
Vasiliy Mikhaylovsky
7cf6c0a492
Change "Keyed each blocks" to v3
...
https://v3.svelte.technology/repl?version=3.0.0-beta.1&gist=f39ae2d72b85b84415aed58acdc43d87
2019-02-06 03:18:31 +05:00
Richard Harris
eda1bc627b
copy changelog blog post over from svelte.technology
2019-01-31 09:28:35 -05:00
Conduitry
a270661d20
rename <svelte:meta>
to <svelte:options>
( #2017 )
2019-01-29 17:59:40 -05:00
Brian Hann
5b73c03271
Syntax error on element binding example
2019-01-15 08:59:01 -06:00
Conduitry
a035676ef0
guide: update docs for <svelte:body>
2019-01-09 11:09:48 -05:00
Conduitry
77df0b7c45
update and tidy REPL examples
2019-01-03 18:23:03 -05:00
Chris Morgan
c850dcd6c4
Update parallax example to use https: URLs
...
It’s very common for http: URLs not to load in https: page now.
These images are served on https: also, so use that.
2019-01-03 22:48:17 +11:00
Richard Harris
3701e0d582
add spring example
2019-01-01 19:34:55 -05:00
Richard Harris
953bdddd53
link to a relevant tweet in virtual DOM post
2018-12-30 12:31:30 -05:00
Rich Harris
bd5ac197c7
use Emotion instead of Aphrodite
2018-12-28 17:39:57 -05:00
Rich Harris
b799edc5a6
Merge branch 'master' of github.com:sveltejs/svelte
2018-12-28 17:28:49 -05:00
Conduitry
b8c5ab5c12
link to RFCs
2018-12-28 13:27:11 -05:00
Rich Harris
ffc039eeae
tweak vdom post
2018-12-27 08:52:14 -05:00
Rich Harris
d8bf74bc7f
virtual DOM post
2018-12-26 18:35:19 -05:00
Rich Harris
ca060be80e
add css-in-js post
2018-12-26 14:53:54 -05:00
Rich Harris
a7a8357f69
tweak blog styles
2018-12-24 21:53:02 -05:00
Rich Harris
c347e7344a
minor tweaks
2018-12-24 16:20:57 -05:00
Rich Harris
7aa612f61d
various guide improvements
2018-12-24 15:37:32 -05:00
Rich Harris
051b780ee0
fix blog markdown
2018-12-24 12:20:39 -05:00
Rich Harris
16b654dabb
link to discord, not gitter
2018-12-24 12:15:05 -05:00
Rich Harris
8768c5d7bd
minor site tweaks
2018-12-23 22:00:35 -05:00
Rich Harris
93f37c3eeb
Merge pull request #1901 from sveltejs/embedded-repl
...
embedded REPLs
2018-12-23 19:14:49 -05:00
Rich Harris
4016f4ff71
put homepage demos into the repo
2018-12-23 19:11:19 -05:00
Conduitry
fab74508ab
use integrated transitions in demos
2018-12-23 19:05:30 -05:00
Conduitry
486a9d4dc4
another markdown fix
2018-12-22 20:56:40 -05:00
Conduitry
028040325a
fix lifecycle demo markdown
2018-12-22 20:36:16 -05:00
Rich Harris
29052aba7d
Bring svelte.technology source into main repo
2018-12-22 16:09:27 -05:00