Skip to content

I.scrollRight() ​

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

Usage ​

js
I.scrollRight(x: number)

Parameters ​

ParameterTypeDescription
xnumberHorizontal distance in pixels to scroll to the right.

Example ​

js
I.scrollRight(200)

Scrolls the page 200 pixels to the right.