Skip to content
The fd-slider JavaScripts packaged up for use with the Rails asset pipeline
Ruby
Find file
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Failed to load latest commit information.
config
lib
script
vendor/assets
.gitignore
Gemfile
Gemfile.lock
MIT-LICENSE
README.rdoc
Rakefile
fd-slider-rails.gemspec

README.rdoc

FdSliderRails

A Rails Engine version of Frequency Decoders' Unobtrusive Accessible Slider.

I've packaged up the PNG-variant, because it seemed simpler.

Installation

In your Gemfile:

group :assets do
  # other stuff
  gem 'fd-slider-rails'
end

Usage

In your application.js:

//= require fd-slider.min

In your application.scss:

@include fd-slider

That's it. Now all your <input type="range"> controls should come to life in old browsers.

Related

github.com/freqdec/fd-slider

Something went wrong with that request. Please try again.