• Overview
@angular/router

Scroll

Class
stable

An event triggered by scrolling.

API

    
      class Scroll {  constructor(routerEvent: NavigationEnd | NavigationSkipped, position: [number, number] | null, anchor: string | null, scrollBehavior?: "manual" | "after-transition" | undefined): Scroll;  readonly type: EventType.Scroll;  toString(): string;}
    
    

constructor

Scroll
@paramrouterEventNavigationEnd | NavigationSkipped
@paramposition[number, number] | null
@paramanchorstring | null
@paramscrollBehavior"manual" | "after-transition" | undefined
@returnsScroll

toString

string
@returnsstring
Jump to details