Scroll
class
Represents a scrolling event.
class Scroll { constructor(routerEvent: NavigationEnd, position: [number, number], anchor: string) routerEvent: NavigationEnd position: [number, number] | null anchor: string | null toString(): string }
Constructor
|
routerEvent |
NavigationEnd |
|
position |
[number, number] |
|
anchor |
string |
Properties
Property | Description |
---|---|
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–2019 Google, Inc.
Licensed under the Creative Commons Attribution License 4.0.
https://v7.angular.io/api/router/Scroll