Med Med - 2 months ago 19
AngularJS Question

Angular material slider how to set ticks values

is there a way using angular slider to define sliding values for example if we have the min val 0 and max val 15 is it possible to set up the values that user can slide to from a list [3,4,6,9...] instead of having steps of 1 or 2?
If it's not possible with Angular material slider is there any other Angular module that can be used?

Answer

you can do that using Angular slide using stepsArray: [3,4,6,9...] here is plunker for that

Comments