The ScrollListener class sets up a listener that handles window scroll events.

Hierarchy

  • ScrollListener

Constructors

Properties

Methods

Constructors

Properties

active: undefined | null | (() => void)
callback: ((top: number) => void)

Type declaration

    • (top: number): void
    • Parameters

      • top: number

      Returns void

ticking: boolean

Methods

Generated using TypeDoc v0.23.24