An options object for creating a scroll bar.

interface IOptions {
    maximum?: number;
    orientation?: ScrollBar.Orientation;
    page?: number;
    value?: number;
}

Properties

maximum?: number

The maximum value for the scroll bar.

The default is 100.

orientation?: ScrollBar.Orientation

The orientation of the scroll bar.

The default is 'vertical'.

page?: number

The page size for the scroll bar.

The default is 10.

value?: number

The value for the scroll bar.

The default is 0.