Carousel

Hierarchy

  • ICarousel

Properties

cycle: (() => void)

Type declaration

    • (): void
    • Cycles through the carousel items from left to right.

      Returns void

el: HTMLElement

The element.

hide: (() => void)

Type declaration

    • (): void
    • Hides the carousel.

      Returns void

next: (() => void)

Type declaration

    • (): void
    • Cycles to the next item.

      Returns void

pause: (() => void)

Type declaration

    • (): void
    • Stops the carousel from cycling through items.

      Returns void

previous: (() => void)

Type declaration

    • (): void
    • Cycles to the previous item.

      Returns void

setTheme: ((isDark) => void)

Type declaration

    • (isDark): void
    • Enables/Disables the dark theme.

      Parameters

      • isDark: boolean

      Returns void

show: (() => void)

Type declaration

    • (): void
    • Shows the carousel.

      Returns void

unpause: (() => void)

Type declaration

    • (): void
    • Unpauses the carousel.

      Returns void

Generated using TypeDoc