diff options
author | Hakim El Hattab <hakim.elhattab@gmail.com> | 2013-03-04 16:06:04 -0500 |
---|---|---|
committer | Hakim El Hattab <hakim.elhattab@gmail.com> | 2013-03-04 16:06:04 -0500 |
commit | a9bef856b049482ef4c83fc426cc7eee0f040984 (patch) | |
tree | a0c91bba48c1836bda30279fd6b1bc2e369e93da /README.md | |
parent | 7db0d9c17d85a1bd9be2a21fb8ede1223d1d5845 (diff) | |
download | fosdem-2018-presentation-a9bef856b049482ef4c83fc426cc7eee0f040984.tar fosdem-2018-presentation-a9bef856b049482ef4c83fc426cc7eee0f040984.tar.gz |
note about post-startup configuration
Diffstat (limited to 'README.md')
-rw-r--r-- | README.md | 10 |
1 files changed, 10 insertions, 0 deletions
@@ -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 |