IonDen / ion.rangeSlider

jQuery only range slider
http://ionden.com/a/plugins/ion.rangeSlider/en.html
MIT License
2.56k stars 508 forks source link

define `onFinish` using data-* attribute #789

Open jacksund opened 9 months ago

jacksund commented 9 months ago

is it possible to define onFinish using data attributes?

For example:

<input type="text" class="js-range-slider" name="my_range" value=""
        data-type="double"
        data-min="0"
        data-max="1000"
        data-onFinish="console.log('finished!');"
    />