Options
All
  • Public
  • Public/Protected
  • All
Menu

Class Carousel

Implementation of the 'carousel' markup element. A HTML div element which can contain several 'form' or 'block' elements. The user can switch between cells by clicking the next or previous button. For CSS manipulations the following classes are added: lto-carousel: the container lto-carousel-cell: the container where a single markup element is wrapped lto-next: selects the next carousel cell lto-previous: selects the previous carousel cell

see

IRenderable

see

IStackeable

Hierarchy

  • Carousel

Implements

Index

Constructors

constructor

Properties

Private carousel

carousel: HTMLDivElement

Private cellContainer

cellContainer: HTMLDivElement

spec

Methods

Private getCurrent

  • getCurrent(): number

Private init

  • init(current: number): void

Private next

  • next(current: number): void

Private previous

  • previous(current: number): void

render

  • render(renderer: IRenderer, isNested: boolean): HTMLElement

Private resetCells

  • resetCells(): void

Generated using TypeDoc