aboutsummaryrefslogtreecommitdiff
path: root/README.md
diff options
context:
space:
mode:
authorMichiK <michik+github@michik.net>2015-11-19 13:00:01 +0100
committerMichiK <michik+github@michik.net>2015-11-19 13:00:01 +0100
commit4a45557b576c945aba71d0b5728c9a9c7510b699 (patch)
treed470fab1fe1d1b4106ccdd02b8faffd17226202a /README.md
parentc0afa01e6ada174e3a9e17ff810a012fbde91796 (diff)
downloadfreenode-live-2017-presentation-4a45557b576c945aba71d0b5728c9a9c7510b699.tar
freenode-live-2017-presentation-4a45557b576c945aba71d0b5728c9a9c7510b699.tar.gz
Add a more flexible autoSlideMethod option
Auto-sliding will now use the method specified in the config if it is a function or default to navigateNext.
Diffstat (limited to 'README.md')
-rw-r--r--README.md8
1 files changed, 4 insertions, 4 deletions
diff --git a/README.md b/README.md
index 9121d71..cf60477 100644
--- a/README.md
+++ b/README.md
@@ -152,10 +152,8 @@ Reveal.initialize({
// Stop auto-sliding after user input
autoSlideStoppable: true,
- // When auto-sliding is active, do always proceed to the right
- // instead of the next slide which may be below (useful for
- // infinite loop presentations with hidden "bonus slides")
- autoSlideRight: false,
+ // Use this method for navigation when auto-sliding
+ autoSlideMethod: Reveal.navigateNext,
// Enable slide navigation via mouse wheel
mouseWheel: false,
@@ -302,6 +300,8 @@ You can also override the slide duration for individual slides and fragments by
</section>
```
+To override the method used for navigation when auto-sliding, you can specify the ```autoSlideMethod``` setting. To only navigate along the top layer and ignore vertical slides, set this to ```Reveal.navigateRight```.
+
Whenever the auto-slide mode is resumed or paused the ```autoslideresumed``` and ```autoslidepaused``` events are fired.