darul75 / angular-awesome-slider

:arrows_clockwise: Angular slider control directive
http://darul75.github.io/angular-awesome-slider/
MIT License
143 stars 63 forks source link

Change color to specific range #129

Open oriko opened 8 years ago

oriko commented 8 years ago

Hi

Is there a way to change the color of specific ranges? For example I have range 0 - 40 for my slider. On init I want to highlight 11-18, 20-30 38-40 in different color.

Thanks,

darul75 commented 8 years ago

Hi, today it is not available but may be a good idea, what do you think about this model ?

colors: [{range: 11-18;color:#eee}, {....}]

oriko commented 8 years ago

Looks good.

On Mon, 7 Sep 2015 17:08 Julien Valéry notifications@github.com wrote:

Hi, today it is not available but may be a good idea, what do you think about this model ?

colors: [{range: 11-18;color:#eee, ....]

— Reply to this email directly or view it on GitHub https://github.com/darul75/angular-awesome-slider/issues/129#issuecomment-138307322 .

oriko commented 8 years ago

BTW, Whan do you think it will be available?

Thank you very much

On Mon, 7 Sep 2015 17:08 Julien Valéry notifications@github.com wrote:

Hi, today it is not available but may be a good idea, what do you think about this model ?

colors: [{range: 11-18;color:#eee, ....]

— Reply to this email directly or view it on GitHub https://github.com/darul75/angular-awesome-slider/issues/129#issuecomment-138307322 .