Check documentation for the latest version of dhtmlxSuite getRunnerIndex DHTMLX Docs

getRunnerIndex

returns the index of the active runner

number getRunnerIndex();

Returns

numberthe index of the active runner (-1 if not active)

Example

var mySlider = new dhtmlXSlider({
    range: true // and other conf
});
mySlider.attachEvent("onChange", function(value){
    console.log(this.getRunnerIndex())
});

Change log

added in 4.3

Back to top