Visitar URL original
Scroll • Angular
The Wayback Machine - https://web.archive.org/web/20260315050810/https://angular.dev/api/router/Scroll
    • 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;}
    
    

constructor

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