guiguiboy / js-range-filler

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

RangeFiller

Simple JS class that transforms an input type range into clickable divs for a better UX.

Getting Started

This is pretty straightforward. Simply look at the example in index.html. Constructor takes 3 arguments:

  • Element to transform
  • Class name for disabled elements
  • Class name for enabled elements

Prerequisites

Works with jQuery. Tested with v3.2.1 (see attached).

Installing

Should be put into a package for easier installation.

Authors

  • Guillaume BRETOU - Initial work

License

This project is licensed under the MIT License - see the LICENSE.md file for details

About


Languages

Language:JavaScript 73.1%Language:HTML 26.9%