tickTemplate

sets a template for rendering values on the scale

function tickTemplate;

Example

var slider = new dhx.Slider("slider_container", { 
    // v is the value of majorTick
    tickTemplate: function(v){
        return v + "°";
    } 
});

Related samples

See also
Back to top