Commit Graph

278 Commits (acbf8135a8a905bc84078cd2145b83d52b325410)

Author SHA1 Message Date
Tan Li Hau 142de015eb
add accessibility warnings to the docs (#5316)
3 years ago
Tan Li Hau 25a48be0ef
update docs for style tag in elements (#6415)
3 years ago
Dominik G 2c488f4d61
docs: update documentation for preprocessor sourcemap output (#6438)
3 years ago
Simon H e27d71f0cf
docs: fix typo
3 years ago
Paul Murray ad29604d6b
Docs: Rename slot let section (#6018)
3 years ago
Dan Kozlov cc58f60002
Add a note that bind:files is readonly (#6099)
3 years ago
Stephane b1d09a4aa2
Clarify that special elements have to be top level (#6240)
3 years ago
Simon H 4acfb05315
Docs: Clarify that `@html` does not compile Svelte code (#6349)
3 years ago
Ignatius Bagus b295d68ec6
fix types: allow writable/readable empty initialization (#6293)
3 years ago
Maxime LUCE 08047c14b6
Pass full markup source to preprocessors (#6169)
3 years ago
Geoff Rich a55295de8c
docs: mention that svelte:self can be in a slot (#6184)
3 years ago
Tan Li Hau 6c5257beb2
allow passing in context in constructor (#6032)
4 years ago
Stephane 47e1eeed56
Add documentation and tutorial for svelte:fragment (#6097)
4 years ago
Rich Harris 2925a00eff
add cssHash option (#6026)
4 years ago
Ben McCann 55b11b0664
docs: define component before demonstrating usage (#5921)
4 years ago
halfnelson a7eff8894f
add `foreign` namespace to preserve attribute case and skip HTML-specific a11y validations (#5652)
4 years ago
Liam Egan 1046ca71a7
Remove duplicate sentence (#5751)
4 years ago
Adam Rackis e5aa04ed49
Add clarification on what makes a reactive block reactive to docs. (#5729)
4 years ago
pushkin 01ead95cbe
add hasContext lifecycle function (#5690)
4 years ago
pushkin 1fa46fde4f
Correct `onDestroy` behavior description (#5590)
4 years ago
swyx e750b7284e
document await...catch shorthand (#5682)
4 years ago
Andy Bruère 4e114d3b0d
docs: remove broken link to easing function (#5635)
4 years ago
Cameron Messinides 169fd8497c
docs: add documentation for $$slots (#5277)
4 years ago
Tan Li Hau ebbbc0d298
docs: add missing `easing` option to `fade` (#5495)
4 years ago
Tan Li Hau fa7c780bad
{#key} block (#5397)
4 years ago
Tan Li Hau a1651ca271
add nonpassive event modifier (#5442)
4 years ago
Eugene Hwang ae971f80ae
docs: adjust explanations of `$$props` and `$$restProps` (#5368)
4 years ago
Luca Bonavita 8f17d6c78c
docs: document `bind:files` (#5141)
4 years ago
Luca Bonavita c31a4b56d0 site: rephrase to clarify that actions can have just one parameter.
4 years ago
Antony Jones dc73b735ce
docs: clarify onMount with non-synchronous handlers (#5053)
4 years ago
Matt Wolff 5b2b58f46f
docs: media binding tweaks (#4967)
4 years ago
Alessandro (Ale) Segala 81b6c0b986
docs: adjust readable store example (#4903)
4 years ago
Daniel Imfeld f624d6e292
docs: `value` cannot be set via spread for indirectly bound values (#4832)
4 years ago
Matt Wolff 97db5cc7f7
docs: add blur to list of svelte/transition exports
4 years ago
Robert Hall 7fe1384f43
Property "muted" for <audio> and <video> (#4690)
4 years ago
pngwn d5e95594e9
feat(site): add svelte syntax highlighting (#4851)
4 years ago
Ben McCann 5ac8a1d07a
docs: link to list of community preprocessors (#4817)
4 years ago
Joseph Abrahamson 5efeeecee8
docs: clarify store contract type signature (#4539)
4 years ago
MichalBednarczyk edeeb05a6c
docs: {#each} with key but without index (#4721)
4 years ago
Antony Jones 0e61e51358
docs: add v2 site link (#4745)
4 years ago
Conduitry 35a910eea2 docs: fix link to animate section
4 years ago
Eddy 75ae49312f
docs: fix link to transition section (#4748)
4 years ago
Daniel Imfeld 676d57b5f7
docs: clarify that all elements in an outroing block remain until the transition finishes (#4684)
4 years ago
pushkin 467fc84d7d
docs: mention |self modifier in reference section (#4709)
4 years ago
Conduitry 0d263cc1ea docs: use Node.TEXT_NODE in more places
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
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
PKlknr 7fdae5f8a8
docs: add await in front of preprocess examples (#4404)
5 years ago
Conduitry 83d461f537
site: clarify preserveWhitespace (#4341)
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
Yugo Ogura 11002c93fe site: fix wrong link to tweened (#4137)
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
Rich Harris 1dead6fa9d typo
5 years ago
Rich Harris a4658e2d42 document new media element bindings
5 years ago
Tan Li Hau b382b9a9c6 add loopGuardTimeout options
5 years ago
Conduitry de80ae72c3 site: clarify bind component prop docs (#3484)
5 years ago
Rich Harris e931a56854
Merge pull request #3762 from sveltejs/gh-3761
5 years ago
Richard Harris e8f5b24143 docs and a fix for #3761
5 years ago
pngwn 7c445093fb Document bind:playbackRate in the API documentation. Closes #3806.
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
Josh Duff e4d7f77453 site: add missing word
5 years ago
Infant Frontender 77e3605c39 Fix typo
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
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
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
Hugo C 0597d04dba
Update 03-run-time.md
5 years ago
davidaq 4af242570b
Correct preprocessor api doc
5 years ago
Rich Harris ad790d36b4
add separator
5 years ago
vages 73a21b855a
Document $$props
5 years ago
Richard Harris 8170d4f455 add docs
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
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
5 years ago
Conduitry 35f81b279f
site: document store contract (#3261)
5 years ago
Luca Bonavita 0eb86d2a13 The element on: directive anchorwas pointing to the component on: directive anchor.
5 years ago
Rich Harris 80ef6f190d
Merge pull request #3127 from pngwn/3029-module-reactivity
5 years ago
Rich Harris e05680d2e7
Update 01-component-format.md
5 years ago
Chris Lee 0a76ea32bc
Change tweened docs to show "interpolate" option
5 years ago
pngwn e0ac393a76 Site: document that module script variables are not reactive. Closes #3029.
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 86c5086c54 add some docs, rename to textContent and innerHTML
5 years ago
Luca Bonavita 0b836872cf Use consistent tag closing for <svelte:*> elements
5 years ago
Luca Bonavita a7dd227336 Docs: document rest in array/object destructuring in each blocks (#2676)
5 years ago
Richard Harris 7215260aa2 tweak transition stuff
5 years ago
Richard Harris 60023f6f7e tweak some content and styles
5 years ago
Richard Harris 570098e8dd restructure
5 years ago
Richard Harris f42bb4c7fd Merge branch 'patch-1' of https://github.com/trbrc/svelte into trbrc-patch-1
5 years ago
Jacob Wright f65379f38b
Fix component binding example
5 years ago
trbrc b4b9edf603
Clearer headlines with syntax examples
5 years ago
Tim Deschryver 42235cf64d fix slide example
5 years ago
Rich Harris 9ba91ddcaa
Merge pull request #2794 from trbrc/patch-1
5 years ago
Emanuele 394a166a41 docs: multiple event listeners on single node (#2825)
5 years ago
Conduitry 1e919113c1 site: document additional arguments in svelte.walk
5 years ago
trbrc c15d7ea2e1
Docs: Exporting function expression vs declaration
5 years ago
Rich Harris 51be7cf8e3 explain how debug tag without args fires on all state changes
5 years ago
Peter Varholak 85073dbb72
add @debug API docs
5 years ago
Conduitry 438acdc09a
typo
5 years ago
Rich Harris f2474ed11e
Merge pull request #2744 from pngwn/transition-docs
5 years ago
Rich Harris 0c76b9637a
minor correction
5 years ago
pngwn c72e863a7f Document svelte/transition - fade, fly, slide, scale, draw.
5 years ago
Rich Harris 61a96b382a implement namespaced components
5 years ago
Rich Harris 4fa9369120
Merge pull request #2580 from pngwn/animate-docs
5 years ago
Rich Harris 644b8a732d
Merge pull request #2730 from sveltejs/gh-2553
5 years ago
Rich Harris ca1dc4cdb7 document changes to derived
5 years ago
Josh Duff 5ebde551b2
Link to label syntax page on MDN
5 years ago
Conduitry 80fe0e9cdb site: add /chat redirect to Discord (#2708)
5 years ago
Conduitry f7978b234a site: document export-as (#2559)
5 years ago
pngwn 7a7804be49 Document animations. #2532
5 years ago
Michael Braun ac24817ef0 Clarifying `let` needs to be used on exported properties, in order for them to be passed in
5 years ago
Richard Harris 4ef1a2d623 document new spring options
5 years ago
Rich Harris ba91810b0b
Merge pull request #2672 from sveltejs/gh-2661
5 years ago
Conduitry 54a8eb9fd4 expose svelte.walk (#2661)
5 years ago
Conduitry df448cb36a document svelte.parse
5 years ago
Rich Harris cfb22e4a10
Merge pull request #2633 from zlsa/patch-2
5 years ago
Rich Harris 8f2ccc407e
flesh out svelte/register docs
5 years ago
pngwn 2bfe477dea Site: Briefly mention intro:true in the transition directive section.
5 years ago
Rich Harris 85b1850b77
Move some stuff into @sveltejs/site-kit
5 years ago
Benjamin Milde e73084b6af Hint at the reactivity limitation of array methods in the api docs (#2622)
5 years ago
Jon Ross df602b74b0
Add barebones description of `svelte/register`
5 years ago
pngwn 60e73c41dc Document svelte/animate - flip.
5 years ago
pngwn 764f71c30d Site: Document createEventDispatcher. (#2583)
5 years ago
Andrei Eftimie e0bebb56a9 Site: Fix slot typo in docs
5 years ago
Emil Tholin eab763c386
Document how to remove a component.$on listener
5 years ago