function doSomething ( values, handle, unencoded, tap, positions ) { // values: Current slider values; // handle: Handle that caused the event; // unencoded: Slider values without formatting; // tap: Event was caused by the user tapping the slider (boolean); // positions: Left offset of the handles in relation to the slider } // Binding signature slider.noUiSlider.on(eventName, doSomething); // Binding namespaced events slider.noUiSlider.on('set.one', function(){}); slider.noUiSlider.on('change.one', function(){}); // Remove all events in the 'one' namespace. slider.noUiSlider.off('.one'); // Remove all events slider.noUiSlider.off(); // Remove all 'change' events in any namespace. slider.noUiSlider.off('change');