note about post-startup configuration
This commit is contained in:
parent
7db0d9c17d
commit
a9bef856b0
1 changed files with 10 additions and 0 deletions
10
README.md
10
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`.
|
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
|
### Presentation Size
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue