Matt Wolff
5b2b58f46f
docs: media binding tweaks ( #4967 )
5 years ago
Daniel Imfeld
f624d6e292
docs: `value` cannot be set via spread for indirectly bound values ( #4832 )
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
pngwn
d5e95594e9
feat(site): add svelte syntax highlighting ( #4851 )
5 years ago
MichalBednarczyk
edeeb05a6c
docs: {#each} with key but without index ( #4721 )
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
Conduitry
0d263cc1ea
docs: use Node.TEXT_NODE in more places
5 years ago
Tan Li Hau
91d758e35b
introduce $$restProps ( #4489 )
5 years ago
Conduitry
addea43e4f
docs: describe falsy and nullish attribute behavior ( #4498 )
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
Conduitry
252ec8ceca
site: missing space
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
Rich Harris
1dead6fa9d
typo
5 years ago
Rich Harris
a4658e2d42
document new media element bindings
5 years ago
Conduitry
de80ae72c3
site: clarify bind component prop docs ( #3484 )
5 years ago
pngwn
7c445093fb
Document bind:playbackRate in the API documentation. Closes #3806 .
5 years ago
Josh Duff
e4d7f77453
site: add missing word
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
Rich Harris
ad790d36b4
add separator
6 years ago
vages
73a21b855a
Document $$props
...
This was explained in the tutorial, but I could not find any documentation on it in the docs.
6 years ago
Richard Harris
8170d4f455
add docs
6 years ago
Conduitry
f65ce85748
site: fix animate directive section heading
6 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
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
6e6a675c67
tweak docs a bit
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
Richard Harris
7215260aa2
tweak transition stuff
6 years ago
Richard Harris
60023f6f7e
tweak some content and styles
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
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
Emanuele
394a166a41
docs: multiple event listeners on single node ( #2825 )
6 years ago
Rich Harris
51be7cf8e3
explain how debug tag without args fires on all state changes
6 years ago
Peter Varholak
85073dbb72
add @debug API docs
6 years ago
Rich Harris
61a96b382a
implement namespaced components
6 years ago
pngwn
7a7804be49
Document animations. #2532
6 years ago
pngwn
2bfe477dea
Site: Briefly mention intro:true in the transition directive section.
6 years ago
pngwn
764f71c30d
Site: Document createEventDispatcher. ( #2583 )
6 years ago
Andrei Eftimie
e0bebb56a9
Site: Fix slot typo in docs
6 years ago
Rich Harris
f38678673c
Merge pull request #2517 from CreaturesInUnitards/patch-4
...
add multiple class toggles example
6 years ago
Vytautas Jakutis
1f8afcb37e
site: docs: fix a typo in HTML example in template syntax
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