It illustrates the color track data in slider.
<div id="default"></div>
import { Slider } from "@syncfusion/ej2-inputs";
let defaultObj: Slider = new Slider({
value: 30,
colorRange:[{color:"green", start:10, end: 45}]
});
defaultObj.appendTo("#default");
string
It is used to set the color in the slider bar.
Defaults to ”
number
It is used to get the end value for applying color.
Defaults to null
number
It is used to get the starting value for applying color.
Defaults to null