improvements to legacy API

This commit is contained in:
Hakim El Hattab
2020-04-07 09:40:11 +02:00
parent 855cc82d76
commit 1081bbfc03
4 changed files with 52 additions and 27 deletions

View File

@ -411,7 +411,6 @@ Reveal.on( 'customevent', function() {
</div>
<script type="module" src="js/index.js"></script>
<script type="module">
// More info https://github.com/hakimel/reveal.js#configuration
@ -436,22 +435,5 @@ Reveal.on( 'customevent', function() {
</script>
<!--
<script type="module">
// WIP support for multiple reveal.js instances
import Reveal from '/js/reveal.js'
window.a = new Reveal(document.querySelector( '.reveal' ), {controls: false});
a.initialize();
window.b = new Reveal(document.querySelector( '.reveal' ), {controls: true});
b.initialize();
console.log(a.getConfig().controls,b.getConfig().controls);
</script>
-->
</body>
</html>