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
Conduitry
e039cabbaa
site: fix another link ( #2497 )
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
rqrqrqrq
bda6aff09c
Docs fix ( #2488 )
6 years ago
Richard Harris
0b54fa9537
add video to blog post, remove draft flag
6 years ago
Richard Harris
7a3e87c75e
remove superfluous example
6 years ago
Richard Harris
115d10bd18
update references to svelte.technology - fixes #2450
6 years ago
Richard Harris
906ccb6d84
draft announcement blog post
6 years ago
Richard Harris
190d86701c
Merge branch 'master' into announcement
6 years ago
Richard Harris
baf0d8ff23
remove draft flag
6 years ago
Richard Harris
90b2997263
tweak blog post
6 years ago
Richard Harris
4bf5f63086
huh, React yells if you use onInput instead of onChange
6 years ago
Richard Harris
099e3d7eed
add draft write-less-code blog post
6 years ago
Richard Harris
3a9d3c44d1
Merge branch 'setting-up-your-editor'
6 years ago
Richard Harris
bbef9918e5
mark post as draft
6 years ago
Rich Harris
11885e4d83
Merge pull request #2426 from sveltejs/svelte-for-new-developers
...
placeholder for svelte-for-new-developers blog post
6 years ago
Richard Harris
fae3757eff
make placeholder post presentable
6 years ago
Richard Harris
759db36e30
add mechanism for draft blog posts
6 years ago
Gabswim
0b706e24cb
typo in tutorial
6 years ago
Richard Harris
8c582abb10
start writing announcement blog post
6 years ago
Richard Harris
1c2d19b9c6
update docs
6 years ago
Richard Harris
6ad3c560a2
update tutorial for keyed each blocks
6 years ago
Rich Harris
bb10298f2c
update animate chapter
6 years ago
Richard Harris
b1737503f0
start updating deferred transition chapter
6 years ago
Rich Harris
f04225fa0f
document local transitions
6 years ago
Rich Harris
b815ac7be9
document store bindings and $foo += 1
6 years ago
Rich Harris
e4ed7183d2
placeholder for svelte-for-new-developers blog post
6 years ago
Rich Harris
0b28796fe2
placeholder for setting-up-your-editor blog post
6 years ago
Rich Harris
d6d9a5ee01
Merge pull request #2425 from sveltejs/gh-2423
...
update svelte:options tutorial chapter, remove example
6 years ago
Rich Harris
ab84aeef11
update svelte:options tutorial chapter, remove example
6 years ago
Rich Harris
d66b1d9a1e
tweak copy
6 years ago
Rich Harris
b176f9370a
add tutorial chapter for mutations - fixes #2243
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
Conduitry
cad5bbafd4
site: fix deferred-transitions example
6 years ago
Richard Harris
55bec34a6e
Merge branch 'site-sidebar-level-4-headings' of https://github.com/mindrones/svelte into mindrones-site-sidebar-level-4-headings
6 years ago
Luca Bonavita
c474007c88
Add link to Mozilla docs about events bubbling and capture phase
...
Fixes #2393
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
Richard Harris
56b6fb0607
fix readable examples in tutorial
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
6ccd66468c
remove unused ctx/running variables
6 years ago
Rich Harris
68d6793c97
remove unused ctx/running variables
6 years ago
Hunter Perrin
94594eb298
Merge pull request #1 from hperrin/patch-2
...
Remove unused r variable.
6 years ago
Hunter Perrin
19f68f358b
Remove unused r variable.
6 years ago
Hunter Perrin
a85cc349b8
Remove unused r variable.
6 years ago
Rich Harris
a07eac432a
update API reference docs ( #2206 )
6 years ago
Richard Harris
143117054a
Merge branch 'master' of github.com:sveltejs/svelte
6 years ago
Richard Harris
200b82d8d0
add playbackRate to list of bindings in tutorial
6 years ago
Rich Harris
4be340bb57
fix example code
6 years ago
James
e76b9e779a
reverse readable stores arg order, fixes #2330
6 years ago
Rich Harris
99f041900b
Merge pull request #2288 from bdougherty/fix-media-element-tutorial
...
Fix media element tutorial
6 years ago
Rich Harris
88366b9ed2
typo
6 years ago
Brad Dougherty
1b3320d765
Update media urls to https
6 years ago
Richard Harris
fba4308036
dry out /repl/embed
6 years ago
Rich Harris
ad2924acb3
a few tweaks
6 years ago
Richard Harris
b3b8f4220c
various spring fixes, including #2167
6 years ago
Richard Harris
2edb5df09c
transfer over all the old examples worth keeping
6 years ago
Richard Harris
771d9eed06
update/remove some more stuff
6 years ago
Richard Harris
3b424fe660
7guis examples
6 years ago
Richard Harris
23eeddef66
tweak examples
6 years ago
Richard Harris
5bd43fba51
bones of an example index page
6 years ago
Richard Harris
217cd6c741
move example data into components
6 years ago
Rich Harris
4541d58798
Add a tutorial ( #2132 )
6 years ago
Conduitry
7e5b29c85e
repl: don't export time as prop in SVG Clock example
6 years ago
Richard Harris
a0e72db86a
fix crud example
6 years ago
Richard Harris
f863a5df30
fix flight booker example
6 years ago
Rich Harris
e6ed8ef49f
update site, including REPL, to use .svelte
6 years ago
Vasiliy Mikhaylovsky
7cf6c0a492
Change "Keyed each blocks" to v3
...
https://v3.svelte.technology/repl?version=3.0.0-beta.1&gist=f39ae2d72b85b84415aed58acdc43d87
6 years ago
Richard Harris
eda1bc627b
copy changelog blog post over from svelte.technology
6 years ago
Conduitry
a270661d20
rename `<svelte:meta>` to `<svelte:options>` ( #2017 )
6 years ago
Brian Hann
5b73c03271
Syntax error on element binding example
6 years ago
Conduitry
a035676ef0
guide: update docs for <svelte:body>
6 years ago
Conduitry
77df0b7c45
update and tidy REPL examples
6 years ago
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.
6 years ago
Richard Harris
3701e0d582
add spring example
6 years ago
Richard Harris
953bdddd53
link to a relevant tweet in virtual DOM post
6 years ago
Rich Harris
bd5ac197c7
use Emotion instead of Aphrodite
6 years ago
Rich Harris
b799edc5a6
Merge branch 'master' of github.com:sveltejs/svelte
6 years ago
Conduitry
b8c5ab5c12
link to RFCs
6 years ago
Rich Harris
ffc039eeae
tweak vdom post
6 years ago
Rich Harris
d8bf74bc7f
virtual DOM post
6 years ago
Rich Harris
ca060be80e
add css-in-js post
6 years ago
Rich Harris
a7a8357f69
tweak blog styles
6 years ago
Rich Harris
c347e7344a
minor tweaks
6 years ago
Rich Harris
7aa612f61d
various guide improvements
6 years ago
Rich Harris
051b780ee0
fix blog markdown
6 years ago
Rich Harris
16b654dabb
link to discord, not gitter
6 years ago
Rich Harris
8768c5d7bd
minor site tweaks
6 years ago
Rich Harris
93f37c3eeb
Merge pull request #1901 from sveltejs/embedded-repl
...
embedded REPLs
6 years ago
Rich Harris
4016f4ff71
put homepage demos into the repo
6 years ago
Conduitry
fab74508ab
use integrated transitions in demos
6 years ago
Conduitry
486a9d4dc4
another markdown fix
6 years ago
Conduitry
028040325a
fix lifecycle demo markdown
6 years ago
Rich Harris
29052aba7d
Bring svelte.technology source into main repo
6 years ago