feat: add minMaxVisible property to slider and range-slider#11057
feat: add minMaxVisible property to slider and range-slider#11057web-padawan merged 1 commit intomainfrom
Conversation
9754a81 to
8c88e03
Compare
| * `thumb` | The slider thumb (applies to both thumbs) | ||
| * `thumb-start` | The start (lower value) thumb | ||
| * `thumb-end` | The end (upper value) thumb | ||
| * `limits` | Container for min/max limit labels |
There was a problem hiding this comment.
The term "limit" seems not ideal when considering future features. With future support for visible steps, this container would likely also be used for holding steps, and min max would just appear as part of that set.
Maybe "marks" would work better?
- marks
- mark
- min-mark
- max-mark
- step-mark (future)
There was a problem hiding this comment.
IMO, marks is more about "tickmarks" (visual representation of the step). I'll check other implementations for some ideas. Overall I'm not really sure about the API name, let's discuss it tomorrow.
There was a problem hiding this comment.
Updated to use minMaxVisible as discussed.
Add a minMaxVisible boolean property that displays the min and max values below the slider track when enabled. Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
8c88e03 to
4884c2a
Compare
|
|
This ticket/PR has been released with Vaadin 25.1.0-alpha8. |



Description
Part of #10973
Add a minMaxVisible boolean property that displays the min and max values below the slider track when enabled.
Type of change
Note
This adds
minandmaxshadow parts wrapped inmarksthat can be then reused to render tickmarks.