fa23-si/js/index.js

16 lines
393 B
JavaScript
Raw Normal View History

import Presentation from './reveal.js'
// Provides a backwards compatible way to initialize
// reveal.js when there is only one presentation on
// the page.
//
// Reveal.initialize({ controls: false })
// Reveal.slide(2)
window.Reveal = {
initialize: options => {
window.Reveal = new Presentation( document.querySelector( '.reveal' ), options );
return window.Reveal.initialize();
}
}