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
}
构造函数
参数
|
属性
属性 | 说明 |
---|---|
routerEvent: NavigationEnd | 只读 Declared in constructor. |
position: [number, number] | null | 只读 Declared in constructor. |
anchor: string | null | 只读 Declared in constructor. |
方法
参数没有参数。 返回值
|