Class Timeline
Index
Constructors
Methods
Methods
Protected
changeBubblePosition
Protected
changeImageVisibility
Protected
collapseText
Protected
debounce
- debounce(func: (...args: any[]) => void, wait: number): (...args: any[]) => void
Debounces a function to prevent it from being called too frequently.
Parameters
- func: (...args: any[]) => void
The function to debounce.
- wait: number
The time to wait before calling the function in milliseconds.
Returns (...args: any[]) => void
The debounced function.
- func: (...args: any[]) => void
Initialises and reacts to timeline events