darul75 / angular-awesome-slider

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

add possibility to add custom css classes #94

Closed 27leaves closed 9 years ago

27leaves commented 9 years ago

I needed the possibility to add a custom css class to a slider. With this pull request you can now add

options: {
  className: 'my-custom-class'
}

and it will add it to

<span ng-class="mainSliderClass" id="" class="ng-scope jslider  jslider-single my-custom-class"> ...</span>
leandro-shifteight commented 9 years ago

@darul75 please fix the documentation, it says classname instead of className

darul75 commented 9 years ago

Sure