scrollTo static method

void scrollTo(
  1. int x,
  2. int y
)

Scrolls the window to the given position. No-op on non-web.

Implementation

static void scrollTo(int x, int y) => impl.scrollTo(x, y);