added missing documentation

This commit is contained in:
Martin Jurča 2018-02-20 16:08:29 +01:00
parent 6a2c5b4de8
commit 250580fc4c
2 changed files with 22 additions and 3 deletions

View File

@ -24,8 +24,23 @@
<body> <body>
<div class="reveal"> <div class="reveal">
<div class="slides"> <div class="slides">
<section>Slide 1</section> <section data-timing="6">
<section>Slide 2</section> Slide 1
<aside>
these are not notes
</aside>
<aside class="notes">
these are notes for the first slide
</aside>
</section>
<section>
Slide 2
<aside class="notes">
these are the nodes for the second slide
</aside>
</section>
</div> </div>
</div> </div>
@ -42,7 +57,9 @@
{ src: 'plugin/markdown/markdown.js' }, { src: 'plugin/markdown/markdown.js' },
{ src: 'plugin/notes/notes.js', async: true }, { src: 'plugin/notes/notes.js', async: true },
{ src: 'plugin/highlight/highlight.js', async: true, callback: function() { hljs.initHighlightingOnLoad(); } } { src: 'plugin/highlight/highlight.js', async: true, callback: function() { hljs.initHighlightingOnLoad(); } }
] ],
controlsTutorial: false,
defaultTiming: 3
}); });
</script> </script>
</body> </body>

View File

@ -5269,6 +5269,8 @@
// Returns an Array of all slides // Returns an Array of all slides
getSlides: getSlides, getSlides: getSlides,
// Returns an Array of objects representing the attributes on
// the slides
getSlidesMetaInfo: getSlidesMetaInfo, getSlidesMetaInfo: getSlidesMetaInfo,
// Returns the total number of slides // Returns the total number of slides