scrollTo method

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

The scrollTo() method of the Element interface scrolls to a particular set of coordinates inside a given element.

Implementation

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