diff options
author | Hakim El Hattab | 2015-11-19 15:30:35 +0100 |
---|---|---|
committer | Hakim El Hattab | 2015-11-19 15:30:35 +0100 |
commit | bbe38ad2639ae483c16312f0b1594cfdea6d2a06 (patch) | |
tree | f23dfc11bf8ba14ac84d1100def708a5aaab8526 /README.md | |
parent | 833622edcd45a7721f7a76d93cc12a1284f60a0d (diff) | |
parent | a398a02edb19ad73d0bebcd5c3bd5334bc05ff3d (diff) |
Merge pull request #1437 from der-michik/autoslide-direction
Add an option to auto-slide right only
Diffstat (limited to 'README.md')
-rw-r--r-- | README.md | 5 |
1 files changed, 5 insertions, 0 deletions
@@ -152,6 +152,9 @@ Reveal.initialize({ // Stop auto-sliding after user input autoSlideStoppable: true, + // Use this method for navigation when auto-sliding + autoSlideMethod: Reveal.navigateNext, + // Enable slide navigation via mouse wheel mouseWheel: false, @@ -297,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. |