improvements to legacy API
This commit is contained in:
18
demo.html
18
demo.html
@ -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>
|
||||
|
Reference in New Issue
Block a user