Customize value

10 Aug 20181 minute to read

The attribute data-ej-value is used to set the value for the Slider on initialization. The attribute data-ej-maxvalue and data-ej-minvalue attribute is the maximum and minimum value of the Slider The attribute data-ej-incrementstep specifies the step-by-step increment value of the Slider when the Slider knob is dragged.

You can refer the following code example.,

  • HTML
  • <div id="slider_sample" data-role="ejmslider" data-ej-value="80" data-ej-maxvalue=100 data-ej-minvalue=10 data-ej-incrementstep=10></div>

    The following screenshot displays the customized Slider Value