Skip to content
This repository was archived by the owner on Dec 26, 2023. It is now read-only.
Karl edited this page Apr 11, 2018 · 1 revision

Type: Function

Default undefined

Define a callback to be called on mouseup/touchend.

The callback has one argument which is the current value(s) of the input.

const rangeable = new Rangeable(input, {
    onEnd: function(value) {
        // do something on value change
    }
});
Clone this wiki locally