Flarum (v1.8.10)
    Preparing search index...

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

    Index

    Constructors

    Properties

    Methods

    Constructors

    Properties

    active: (() => void) | null | undefined

    Type Declaration

    • () => void
        • (): void
        • Protected

          On each animation frame, as long as the listener is active, run the update method.

          Returns void

    • null
    • undefined
    callback: (top: number) => void
    ticking: boolean

    Methods