Current version: 4.0.2
noUiSlider is a super tiny jQuery plugin that allows you to create range sliders.
It fully supports touch, and it is way(!) less bloated than the jQueryUI library.
A full documentation, including examples, is available on the noUiSlider documentation page.
Changelog for version 4.0.2:
[current patch release]
+ Fixed some minor CSS issues in the default theme
+ The slider will no longer force an arbitrary width or height
+ Changed source to comply to more JsLint suggestions
+ Removed compressed versions from the tracking system. They'll still be produced and provided, but they'll only be bundled in the Github Releases Feature.
+ Some very small changes to internal input testing
Changelog for version 4:
[current major release]
Version numbering follows the 'Semantic versioning' style.
You'll find an excellent documentation at Semver.org.
CSS (CSSMinifier)
The stylesheet is trimmed of whitespace and comments to provide a min
version.
JS (Google Closure Compiler)
The plugin is compressed using the Google Closure compiler, using the 'simple' optimization option.
Code (JsLint)
The plugin code is checked using JsLint, with the following options: browser: true devel: true plusplus: true unparam: true sloppy: true white: true
Please note that while some errors remain without these options, they are merely differences in coding style. Using ++
for example, is in my opinion very clear in a for
loop. Some jQuery methods offer callbacks noUiSlider doesn't require, thus requiring unparam
, and the devel
option is required for the console
statements. The sloppy
option refers to a missing "use strict"
statement, which isn't included for lack of testing.
There are some minor issues remaining in noUiSlider 4. It is a priority to fix these issues.
preventDefault()
call that prevents this in other browser seems to fail here.orientation: vertical
optionscrollTop
> 0