From: Hakim El Hattab Date: Mon, 4 Mar 2013 21:06:04 +0000 (-0500) Subject: note about post-startup configuration X-Git-Tag: 2.3.0~26 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=a9bef856b049482ef4c83fc426cc7eee0f040984;p=reveal.js.git note about post-startup configuration --- diff --git a/README.md b/README.md index f4b5e6e..6b7dffc 100644 --- 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