allow reveal.js instances to be created with only options
This commit is contained in:
parent
a55cd813be
commit
d03fc04f61
3 changed files with 8 additions and 7 deletions
|
@ -420,7 +420,7 @@ Reveal.on( 'customevent', function() {
|
|||
import Highlight from '/plugin/highlight/highlight.js';
|
||||
|
||||
// More info https://github.com/hakimel/reveal.js#configuration
|
||||
let deck = new Reveal( document.querySelector( '.reveal' ), {
|
||||
let deck = new Reveal({
|
||||
controls: true,
|
||||
progress: true,
|
||||
center: true,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue