Overview

The Autoplay component mounts autoplay feature to the carousel. This component emits some events.

Methods

play()

play(): void

Starts autoplay.


pause()

pause(): void

Pauses autoplay.


isPaused()

isPaused(): boolean

Checks if autoplay is paused or not.

Return

true if autoplay is paused, or otherwise false.