Orientation

10 Aug 20181 minute to read

It specifies the Orientation of the Slider. To change orientation, data-ej-orientation attribute is used. By default, the value is set to “horizontal”.

The possible values are,

  1. Horizontal
  2. Vertical
  • HTML
  • <div id="slider_sample" data-role="ejmslider" data-ej-orientation="vertical"> </div>

    The following screenshot displays the Slider Orientation: