Jelajahi Sumber

note about post-startup configuration

Hakim El Hattab 12 tahun lalu
induk
melakukan
a9bef856b0
1 mengubah file dengan 10 tambahan dan 0 penghapusan
  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