Help Angular by taking a 1 minute survey!Go to surveyHome

Scroll

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

constructor(routerEvent: NavigationEnd, position: [number, number], anchor: string)
      
      constructor(routerEvent: NavigationEnd, position: [number, number], anchor: string)
    
Parameters
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(): string
      
      toString(): string
    
Parameters

There are no parameters.

Returns

string