note about post-startup configuration

This commit is contained in:
Hakim El Hattab 2013-03-04 16:06:04 -05:00
parent 7db0d9c17d
commit a9bef856b0
1 changed files with 10 additions and 0 deletions

View File

@ -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