Extension to jQueryUI's slider, adding ticks and value labels
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
README.md
jquery-ui.labeled-slider.js
jquery-ui.labeled-slider.min.js

README.md

jQuery UI labeledSlider

Not in active development, contributions welcome

This plugin wraps the functionality provided by the jQuery UI Slider plugin, an adds two main features:

  • Ticks, little lines that indicate where the slider will snap to.
  • Labels, instead of passing in numbers, and steps and so forth, you pass in an array, and then you are able to access these labels the same way you are able to get the value of the slider. Good for non-numeric selections and ranges.

Drawbacks

Currently some things are hardcoded. If you are looking to contribute, these would be a good place to start!

  • The slide event is set for you and not-overridable.
  • range mode is always enabled.
  • step is enabled, so the slider snaps to locations, not free moving.