Skip to main content

tickTemplate

sets a template for rendering values on the scale

tickTemplate?: (position: number) => string;

Example

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

Related sample: Slider. Custom Scale