Skip to content

Auto-slide paused by default? #3125

Answered by hakimel
jaybonthius asked this question in Q&A
Discussion options

You must be logged in to vote
Reveal.initialize().then( () => {
  Reveal.configure({ autoSlide: 10000 });
  Reveal.toggleAutoSlide( false );
} );

That will wait until reveal.js ready before enabling and immediately pausing autoSlide. Hope it helps!

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by hakimel
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants
Converted from issue

This discussion was converted from issue #3121 on February 07, 2022 09:03.