For questions about the
Questions tagged [mat-slider]
23 questions
0
votes
2 answers
mat-slider - Angular Material experimental - _getHostElement error. How to resolve?
I have recently upgraded to Angular 12 and installed Angular Material Experimental in order to try out the new mat-slider. I effectively want a range slider, which is not available in the current angular material package, and I'd prefer to stay…

crisco
- 1
- 1
0
votes
1 answer
Mat-Slider changes text color despite color code
I have a component in my project with some text and a conditional mat-slider.
When mat-slider is hidden, my text looks like this:
And when it is visible, my text looks like this:
My code:

YSFKBDY
- 735
- 1
- 12
- 38
0
votes
0 answers
How to get mat-slider in Angular to select from a particular set of values?
I am working on a project that aims to display literacy rates around the world for particular years. Currently, we have data ranging from 1475 to 2015. However, not every single year holds data. Only 10-12 years actually hold some data. As a result,…

Hamza Qureshi
- 33
- 5
0
votes
1 answer
How to uncheck mat-slide-toggle when I checked another mat-slide-toggle using Material Angular
I have this DEMO project
Can you ask me any idea how to uncheck mat-slide-toggle Title when I checked another mat-slide-toggle Published date and the opposite?

site
- 247
- 5
- 15
0
votes
1 answer
How to add an extra, static thumb label to an angular material slider (mat-slider)?
I'd like the users to be able to see the original value of the slider as a reference point as they select a new value.
So I'd like to add an extra thumb label (351) like this:
I know this isn't supported by the mat-slider in the documentation, but…

matt1616
- 433
- 4
- 8
0
votes
0 answers
Smooth color change with a slider Angular
What I am trying to achieve is different background color depending on slider value.
The slider looks something like this:
And the element I'm changing like this:

Kateryna
- 45
- 5
0
votes
1 answer
Angular 9 Mat-Slider does not work properly on iOS Devices
EDIT :
On iOS 12.4.6 it still doesn't work, but at least the bar is not jumpy anymore, but still not registering the values, or unmute at pre-setted value of 20% .
On iOS 13.3.1 ( my other phone ) all the described problems reproduce
I have a…

Razvan Serbaneci
- 11
- 4
0
votes
1 answer
Angular Slider snap to value
I'm having some trouble figuring out how to make snap spots to different values inside the slider in Angular. Slider:

mHvNG
- 671
- 5
- 22