Interface ICarousel

The carousel interface.

interface ICarousel {
    behavior: ScrollBehavior;
    get el(): Element;
    get id(): string;
    index: Index;
    get items(): HTMLElement[];
    get mask(): null | Element;
    get pageIndex(): number;
    get pages(): Pages;
    destroy(): void;
    update(): void;
}

Hierarchy

  • ICore
    • ICarousel

Implemented by

Properties

Accessors

Methods

Properties

behavior: ScrollBehavior

Accessors

  • get el(): Element
  • Returns Element

  • get id(): string
  • Returns string

  • get items(): HTMLElement[]
  • Returns HTMLElement[]

  • get mask(): null | Element
  • Returns null | Element

  • get pageIndex(): number
  • Returns number

Methods