1// Logs the value when the user has released the slider
2$('.my-slider').on('change', valueUpdated);
3
4// Logs the value while the user is moving the slider
5$('.my-slider').on('input', valueUpdated);
6
7function valueUpdated (e) {
8 var val = $(e.element).val();
9 console.log(val);
10}
11