Skip to content

Commit

Permalink
docs(material/slider): value should go in the input tag (angular#28257)
Browse files Browse the repository at this point in the history
* 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
  • Loading branch information
mruanova committed Apr 11, 2024
1 parent d8a6c3e commit 1999e20
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/material/slider/slider.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,8 @@ in increments of `1`. These values can be changed by setting the `min`, `max`, a
respectively. The initial value is set to the minimum value unless otherwise specified.

```html
<mat-slider min="1" max="5" step="0.5" value="1.5">
<input matSliderThumb>
<mat-slider min="1" max="5" step="0.5">
<input matSliderThumb value="1.5">
</mat-slider>
```

Expand Down

0 comments on commit 1999e20

Please sign in to comment.