Autoplay

You're browsing the documentation for v3

Overview

The Autoplay component mounts autoplay feature to the slider. 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.