note about post-startup configuration
authorHakim El Hattab <hakim.elhattab@gmail.com>
Mon, 4 Mar 2013 21:06:04 +0000 (16:06 -0500)
committerHakim El Hattab <hakim.elhattab@gmail.com>
Mon, 4 Mar 2013 21:06:04 +0000 (16:06 -0500)
README.md

index f4b5e6ecaee5011b2f570b37d81fb86682a38c19..6b7dffc5d485682a69e1677f6a7c0ad2711b9a00 100644 (file)
--- a/README.md
+++ b/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