diff options
Diffstat (limited to 'js/reveal.js')
-rw-r--r-- | js/reveal.js | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/js/reveal.js b/js/reveal.js index 8d48814..c56ee2b 100644 --- a/js/reveal.js +++ b/js/reveal.js @@ -73,6 +73,9 @@ var Reveal = (function(){ // Transition style transition: 'default', // default/cube/page/concave/zoom/linear/fade/none + // Transition speed + transitionSpeed: 'default', // default/fast/slow + // Script dependencies to load dependencies: [] }, @@ -340,6 +343,8 @@ var Reveal = (function(){ dom.wrapper.classList.add( config.transition ); + dom.wrapper.setAttribute( 'data-transition-speed', config.transitionSpeed ); + if( dom.controls ) { dom.controls.style.display = ( config.controls && dom.controls ) ? 'block' : 'none'; } |