GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Docs
  • Tutorials
  • Playground
  • Reference
  • code

This view

  • Original page
  • New address

GeezerVison is showing next.angular.dev — ViewportScroller • Angular

API

    
      abstract class ViewportScroller {}
    
    

Configures the top offset used when scrolling to an anchor.

@paramoffset[number, number] | (() => [number, number])

A position in screen coordinates (a tuple with x and y values) or a function that returns the top offset position.

@returnsvoid

Retrieves the current scroll position.

@returns[number, number]

A position in screen coordinates (a tuple with x and y values).

Scrolls to a specified position.

@paramposition[number, number]

A position in screen coordinates (a tuple with x and y values).

@paramoptionsScrollOptions | undefined
@returnsvoid

Scrolls to an anchor element.

@paramanchorstring

The ID of the anchor element.

@paramoptionsScrollOptions | undefined

Scroll options

@returnsvoid

Disables automatic scroll restoration provided by the browser. See also window.history.scrollRestoration info.

@paramscrollRestoration"auto" | "manual"
@returnsvoid
You are visitor 01402520 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.