<div id="slider" class="hx-slider"></div>
slider = new hx.TimeSlider('#slider')
<div id="slider2" class="hx-slider"></div>
slider = new hx.TimeSlider('#slider2', {type: 'range'})
function (slider, elem, value) {
hx.select(elem).text(slider.formatter(new Date(value)));
}
var render = function(slider, elem, value, update, rangeStart){
hx.select(elem).text(slider.formatter(slider.valueToDate(value)))
}
function (slider, elem, value) {
hx.select(elem).text(slider.formatter(new Date(value)));
}
function (slider, elem, value) {
hx.select(elem).text(slider.formatter(slider.valueToDate(value)));
}