Skip to content

Commit 74f18ed

Browse files
docs(material/slider): changed value property of mat-slider from gett… (#23276)
The mat-slider is invisible when value is 1 on the purple-green pre-built template after following the "getting started" guide. Since the white background is default nothing can be seen, which is especially bad for newbies.
1 parent 6a447fb commit 74f18ed

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

guides/getting-started.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -62,7 +62,7 @@ import { MatSliderModule } from '@angular/material/slider';
6262
Add the `<mat-slider>` tag to the `app.component.html` like so:
6363

6464
```html
65-
<mat-slider min="1" max="100" step="1" value="1"></mat-slider>
65+
<mat-slider min="1" max="100" step="1" value="50"></mat-slider>
6666
```
6767

6868
Run your local dev server:

0 commit comments

Comments
 (0)