diff --git a/README.md b/README.md index 0aa0f29..bfd5c9f 100644 --- a/README.md +++ b/README.md @@ -270,7 +270,10 @@ Reveal.initialize({ // - Calculated automatically unless specified // - Set to 0 to disable movement along an axis parallaxBackgroundHorizontal: null, - parallaxBackgroundVertical: null + parallaxBackgroundVertical: null, + + // The display mode that will be used to show slides + display: 'block' }); ``` diff --git a/js/reveal.js b/js/reveal.js index 6c349e7..125a7b6 100644 --- a/js/reveal.js +++ b/js/reveal.js @@ -49,9 +49,6 @@ minScale: 0.2, maxScale: 2.0, - // Value of the display CSS property applied to current slide to make it visible - display: 'block', - // Display controls in the bottom right corner controls: true, @@ -163,6 +160,9 @@ // Number of slides away from the current that are visible viewDistance: 3, + // The display mode that will be used to show slides + display: 'block', + // Script dependencies to load dependencies: []