orientation([orientation])

Class: Slider.

Description:

Sets or gets the orientation of the Slider.

Parameters:

Name Type Description

[orientation]

Orientation

The slider's orientation: Orientation.Horizontal or Orientation.Vertical.

Returns:

When setting a value, returns this component for chaining; otherwise returns the current value.

Type: Slider | Orientation