Open yansusanto opened 4 years ago
Hi, yes you can create multiple sliders on 1 page. Just follow this demo: https://jsfiddle.net/IonDen/f1t6qpx0/
Thanks for the response, @IonDen
Yes, I did create 2 sliders with different ids. So you're saying this is what we have to do
$range.ionRangeSlider({
onStart: updateData,
onChange: updateData,
onFinish: updateData,
});
$range2.ionRangeSlider({
onStart: updateData2,
onChange: updateData2,
onFinish: updateData2,
});
Is this the correct workflow?
You have basic idea.
@IonDen Thank you.
If I'm using the above js, may I know why I'm getting this console error. Am I missing something here?
Everything works fine though
e.ionRangeSlider
? what is e
?
Hi, I'm hoping someone may point me in the right direction as to what I'm trying to achieve here.
Say I have another slider, do I need to create a new set of `onChange' function to target the specific slider. Just couldn't wrap my head around this.
Any pointer is much appeciated.