I'm having some trouble figuring out how to make snap spots to different values inside the slider in Angular. Slider:
<mat-slider
min="0" max="90" step="1" tickinterval="auto" thumbLabel (input)="positionChanged(component, 'north.dx', $event.value)" (input)="positionChanged(component, 'north.dy', $event.value)"
></mat-slider>
I need to have three snap spots: [33, 45, 90]
.
Link to documentation: Angular mat-slider
Is there a way to do this inside the html? I hope someone is able to help me. Thanks in advance!