Quellcode durchsuchen

note about post-startup configuration

Hakim El Hattab vor 12 Jahren
Ursprung
Commit
a9bef856b0
1 geänderte Dateien mit 10 neuen und 0 gelöschten Zeilen
  1. 10 0
      README.md

+ 10 - 0
README.md

@@ -107,6 +107,16 @@ Reveal.initialize({
 
 Note that the new default vertical centering option will break compatibility with slides that were using transitions with backgrounds (`cube` and `page`). To restore the previous behavior, set `center` to `false`.
 
+The configuration can be update after initialization using the ```configure``` method:
+
+```javascript
+// Turn autoSlide off
+Reveal.configure({ autoSlide: 0 });
+
+// Start auto-sliding every 5s
+Reveal.configure({ autoSlide: 5000 });
+```
+
 
 ### Presentation Size