angular-slider

Slider directive implementation for AngularJS, without jQuery dependencies
15 people use it

angular-slider

Slider directive implementation for AngularJS, without jQuery dependencies. Requires AngularJS v1.1.4 or higher (optional isolate scope bindings support).

Example:

Range:

Formatting:

Raw data can be formatted as text using the translate attribute. In your controller:

And your HTML:

Known issues:

  1. When applying filters or orders within an ng-repeat directive, the element can abruptly change its position when the value attached to the slider causes a filter to activate or the order to change. Example: In the above snippet, it would be a very bad idea to order the list by item.cost.

Roadmap:

  1. Touch events support
  2. Smooth curve heterogeneity
  3. Filters support

License: MIT

comments powered by Disqus
This page was last updated about 4 years ago.