<ch5-slider id="demo" step="20" min="0" max="200" value="20" valueHigh="80" range="true"> </ch5-slider>
var elem = document.getElementById("demo"); elem.addEventListener('slider', function(e){ console.log('slider: ', e.detail); }); elem.addEventListener('slidestart', function(e){ console.log('slidestart: ', e.detail); }); elem.addEventListener('slideend', function(e){ console.log('slideend: ', e.detail); });