I have a ion.rangeslider which has 4 callbacks: onStart, onUpdate, onChange, onFinish.
I have a button function. How can call the onUpdate callback from button?
$("#range").ionRangeSlider({
min: +moment().subtract(3, "days").format("X"),
max: +moment().add(1, "days").format("X"),
from: +moment().format("X"),
step: 10800,
grid: true,
grid_num: 16,
force_edges: true,
onUpdate: function (data){
alert ("Update value");
}
});
function buttonClick(){
// here i want to call onUpdate;
}
Thanks in advance!