Search results

Orientation

06 Oct 2021 / 1 minute to read

The Slider can be displayed, either in horizontal or vertical orientation. By default, the Slider renders in horizontal orientation.

Source
Preview
index.js
Copied to clipboard
// Initialize Slider component
var rangeObj = new ej.inputs.Slider({
    // vertical orientation
    orientation: 'Vertical',
    value: 30
});
// Render initialized Slider
rangeObj.appendTo('#slider');