On this page
Scroll
class  final 
An event triggered by scrolling.
class Scroll {
  constructor(routerEvent: NavigationEnd, position: [number, number], anchor: string)
  type: EventType.Scroll
  routerEvent: NavigationEnd
  position: [...]
  anchor: string | null
  toString(): string
}
   Constructor
        
          | 
      
routerEvent | 
            NavigationEnd | 
            |
position | 
            [number, number] | 
            |
anchor | 
            string | 
            
Properties
| Property | Description | 
|---|---|
type: EventType.Scroll | 
       Read-Only | 
routerEvent: NavigationEnd | 
       Read-Only Declared in Constructor | 
position: [ number, number ] | null | 
       Read-Only Declared in Constructor | 
anchor: string | null | 
       Read-Only Declared in Constructor | 
Methods
| 
         
         toString()
          | 
      
|---|
        
          | 
      
© 2010–2023 Google, Inc.
Licensed under the Creative Commons Attribution License 4.0.
 https://v14.angular.io/api/router/Scroll