scrollBy method

void scrollBy([
  1. JSAny optionsOrX,
  2. num y
])

The Window.scrollBy() method scrolls the document in the window by the given amount.

Implementation

external void scrollBy([
  JSAny optionsOrX,
  num y,
]);