2.0.1 • Published 9 years ago
angular-slider-directive v2.0.1
AngularJS slider directive
- Features: - Allows arbitrarily many handles - Fully customizable styles. You may overwrite the default element classes and replace them with whatever you like. - Supports both increment and continuous sliders - Users may define their own values. You are not restricted to numbers only. - Users may define their own scaling functions. You are not restricted to linear sliders. - Users may rotate their sliders, allowing for vertical or slanted sliders.
Demo
http://jackrabbitsgroup.github.io/angular-slider-directive/
Dependencies
- required: - Angular - Jquery (specifically, .offset() and .bind() functions) - Lesshat
- optional - None
See bower.json
and index.html
in the gh-pages
branch for a full list / more details
Install
- download the files
- Bower
- add
"angular-slider-directive": "latest"
to yourbower.json
file then runbower install
OR runbower install angular-slider-directive
- add
- Bower
- include the files in your app
slider-directive.min.js
slider-directive.less
ORslider-directive.min.css
- include the module in angular (i.e. in
app.js
) -jackrabbitsgroup.angular-slider-directive
See the gh-pages
branch, files bower.json
and index.html
for a full example.
Documentation
See the slider-directive.js
file top comments for usage examples and documentation
https://github.com/jackrabbitsgroup/angular-slider-directive/blob/master/slider-directive.js
2.0.1
9 years ago