Skip to content

Commit d804158

Browse files
author
Robert Hall
committed
Documentation
1 parent 1f6bae7 commit d804158

File tree

2 files changed

+5
-2
lines changed

2 files changed

+5
-2
lines changed

site/content/docs/02-template-syntax.md

+3-1
Original file line numberDiff line numberDiff line change
@@ -594,12 +594,13 @@ Media elements (`<audio>` and `<video>`) have their own set of bindings — six
594594
* `seeking` (readonly) — boolean
595595
* `ended` (readonly) — boolean
596596

597-
...and four *two-way* bindings:
597+
...and five *two-way* bindings:
598598

599599
* `currentTime` — the current point in the video, in seconds
600600
* `playbackRate` — how fast to play the video, where 1 is 'normal'
601601
* `paused` — this one should be self-explanatory
602602
* `volume` — a value between 0 and 1
603+
* `muted` — a boolean value where true is muted
603604

604605
Videos additionally have readonly `videoWidth` and `videoHeight` bindings.
605606

@@ -615,6 +616,7 @@ Videos additionally have readonly `videoWidth` and `videoHeight` bindings.
615616
bind:currentTime
616617
bind:paused
617618
bind:volume
619+
bind:muted
618620
bind:videoWidth
619621
bind:videoHeight
620622
></video>

site/content/tutorial/06-bindings/10-media-elements/text.md

+2-1
Original file line numberDiff line numberDiff line change
@@ -33,11 +33,12 @@ The complete set of bindings for `<audio>` and `<video>` is as follows — six *
3333
* `seeking` (readonly) — boolean
3434
* `ended` (readonly) — boolean
3535

36-
...and four *two-way* bindings:
36+
...and five *two-way* bindings:
3737

3838
* `currentTime` — the current point in the video, in seconds
3939
* `playbackRate` — how fast to play the video, where `1` is 'normal'
4040
* `paused` — this one should be self-explanatory
4141
* `volume` — a value between 0 and 1
42+
* `muted` — a boolean value where true is muted
4243

4344
Videos additionally have readonly `videoWidth` and `videoHeight` bindings.

0 commit comments

Comments
 (0)