Initialises and reacts to timeline events

Constructors

Methods

  • Adjusts the container classes based on the window width.

    Returns 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.

    Returns (...args: any[]) => void

    The debounced function.

  • Initialises the collapsible elements within the date bubbles.

    Returns void

  • Initialises the image observers for the timeline elements.

    Returns void