Type alias GlitchResult

GlitchResult: {
    containers: HTMLDivElement[];
    startGlitch: (() => void);
    stopGlitch: (() => void);
}

The result for glitching one or multiple elements.

Type declaration

  • containers: HTMLDivElement[]

    Lists of containers for each glitched element.

  • startGlitch: (() => void)
      • (): void
      • Callback to force-start the glitch animation regardless of the selected play mode.

        Returns void

  • stopGlitch: (() => void)
      • (): void
      • Callback to force-stop the glitch animation, regardless of the selected play mode.

        Returns void

Generated using TypeDoc