填写这份《一分钟调查》,帮我们(开发组)做得更好!去填写Home

Scroll

表示一个滚动事件。

An event triggered by scrolling.

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

属性

属性说明
routerEvent: NavigationEnd只读 Declared in constructor.
position: [number, number] | null只读 Declared in constructor.
anchor: string | null只读 Declared in constructor.

方法

toString(): string
      
      toString(): string
    
参数

没有参数。

返回值

string