Search results

Orientation

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

Source
Preview
app.ts
import { Slider } from '@syncfusion/ej2-inputs';

// Initialize Slider component
 let rangeObj: Slider = new Slider({
        // vertical orientation
        orientation: 'Vertical',
        value: 30
    });
    // Render initialized Slider
    rangeObj.appendTo('#slider');