Skip to main content

Auto Play

Suggestion

Loop mode must be enabled

If you want to play the carousel automatically, you can use this mode. When the user manually operates, he will pause and wait for the operation to end before restarting the timing playback

<BearCarousel 
// ...ignore some
isEnableLoop
isEnableAutoPlay
autoPlayTime={1500} // default(5000ms)
initStartPlayTime={3000} // default(5000ms)
/>

Wait 3sec init start play then wait 1.5sec play and loop play