20 Feb 20171 minute to read

This feature includes the animation effect for the Slider when moving the Slider handle.

Enabling animation

The data-ej-enableanimation attribute is used to enable or disable the Animation effect in the Slider. Default value for this attribute is set to “false”. The data-ej-animationspeed attribute specifies the animation speed when the Slider is dragged from long range. It works only when

data-ej-enableanimation attribute is set to “true”. Default Value is 400.

  • HTML
  • <div id="slider_sample" data-role="ejmslider" data-ej-enableanimation="true" data-ej-animationspeed="1000" ></div>