Skip to content

Commit 39919bb

Browse files
mruanovammalerba
authored andcommitted
docs(material/slider): value should go in the input tag (#28257)
* src/material/slider/slider.md * slider * slider * docs(material/slider): value should go in the input tag * docs(material/slider): value should go in the input tag (cherry picked from commit 1999e20)
1 parent c34bde9 commit 39919bb

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/material/slider/slider.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,8 +10,8 @@ in increments of `1`. These values can be changed by setting the `min`, `max`, a
1010
respectively. The initial value is set to the minimum value unless otherwise specified.
1111

1212
```html
13-
<mat-slider min="1" max="5" step="0.5" value="1.5">
14-
<input matSliderThumb>
13+
<mat-slider min="1" max="5" step="0.5">
14+
<input matSliderThumb value="1.5">
1515
</mat-slider>
1616
```
1717

0 commit comments

Comments
 (0)