Overview

The Move component moves the carousel by applying styles to the list element.

Methods

move()

move( dest: number, index: number, prev: number ): void

Moves the carousel to the dest index with the Transition component. This method does not update the current index. Use Controller#go instead.

Params

dest

A destination index to go to, including clones'.

index

A slide index.

prev

A previous index.