Skip to content

I.scrollLeft() ​

Scrolls the page to the left by a specified number of pixels.

Usage ​

js
I.scrollLeft(x: number)

Parameters ​

ParameterTypeDescription
xnumberHorizontal distance in pixels to scroll to the left.

Example ​

js
I.scrollLeft(200)

Scrolls the page 200 pixels to the left.