Properties
optional public animation?: boolean
Show animation when changing block? (default: true)
optional public axis?: string
Vertical or horizontal scroller? 'x' or 'y'. (default: 'x')
optional public callback?: (element: HTMLElement, index: number) => void
Function that executes after every move (default: null)
optional public controls?: boolean
Show left and right navigation buttons? (default: true)
optional public display?: number
How many blocks do you want to move at a time? (default: 1)
optional public duration?: number
Time of the animation in miliseconds (default: 1000)
optional public interval?: boolean
Move to the next block on an interval. (default: false)
optional public intervaltime?: number
Interval time in milliseconds. (default: 3000)
optional public pager?: boolean
Show page number navigation buttons? (default: false)
optional public rewind?: boolean
If interval is true and rewind is true it will play in reverse if the last slide is reached. (default: false)
optional public start?: number
Start block of the carousel. (default: 1)