Skip to content
This repository has been archived by the owner on Dec 26, 2023. It is now read-only.

onStart

Karl edited this page Apr 11, 2018 · 2 revisions

Type: Function

Default undefined

Define a callback to be called on mousedown/touchstart.

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

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