scrollBy method

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

The scrollBy() method of the Element interface scrolls an element by the given amount.

Implementation

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