Options
All
  • Public
  • Public/Protected
  • All
Menu

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

Hierarchy

  • ScrollListener

Index

Constructors

constructor

Properties

active

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

callback

callback: (top: number) => void

Type declaration

    • (top: number): void
    • Parameters

      • top: number

      Returns void

ticking

ticking: boolean

Methods

Protected loop

  • loop(): void

start

  • start(): void

stop

  • stop(): void

update

  • update(): void

Generated using TypeDoc version 0.22.10