Med
Med

Reputation: 221

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?

Upvotes: 3

Views: 1364

Answers (1)

Mohamed NAOUALI
Mohamed NAOUALI

Reputation: 2132

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

Upvotes: 2

Related Questions