Skip to content

Commit 891e3a0

Browse files
docs(material/slider): clarify behavior of slider range thumbs (#27846)
* docs(material/slider): clarify behavior of slider range thumbs Clarifies possible behavior/values of matStartThumb and matEndThumb in slider component 'Selecting a range' documentation. Addresses #27837 * correct names of slider thumbs and streamline language * small wording update for clarity * add 'the' in front of reference to thumb
1 parent ac06c98 commit 891e3a0

File tree

1 file changed

+5
-3
lines changed

1 file changed

+5
-3
lines changed

src/material/slider/slider.md

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -16,9 +16,11 @@ respectively. The initial value is set to the minimum value unless otherwise spe
1616
```
1717

1818
### Selecting a range
19-
A `<mat-slider>` can be converted into a range slider by projecting both a `matStartThumb` and a
20-
`matEndThumb` into it. Each of the thumbs has an independent value, but they won't be allowed to
21-
overlap and they're still bound by the same `min` and `max` from the slider.
19+
A `<mat-slider>` can be converted into a range slider by projecting both a `matSliderStartThumb` and a
20+
`matSliderEndThumb` into it. Each thumb has its own value, but both are still
21+
constrained by the slider's `min` and `max` values. The `matSliderStartThumb` cannot have a value
22+
greater than that of the `matSliderEndThumb` and the `matSliderEndThumb` cannot have a value less than
23+
that of the `matSliderStartThumb`, though they both may have the same value.
2224

2325
```html
2426
<mat-slider>

0 commit comments

Comments
 (0)