added support for looped presentations

This commit is contained in:
Hakim El Hattab 2012-04-28 12:16:56 -04:00
parent eee6e5f964
commit cde5362db3
4 changed files with 35 additions and 12 deletions

View file

@ -58,6 +58,9 @@ Reveal.initialize({
// If true; each slide will be pushed to the browser history
history: true,
// Loops the presentation, defaults to false
loop: false,
// Flags if mouse wheel navigation should be enabled
mouseWheel: true,
@ -98,6 +101,7 @@ document.addEventListener( 'someState', function() {
#### 1.3 (master)
- Revised keyboard shortcuts, including ESC for overview, N for next, P for previous. Thanks [mahemoff](https://github.com/mahemoff)
- Added support for looped presentations via config
#### 1.2