From 250580fc4c97f83185e46f9d0e22286d0a01d3af Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Martin=20Jur=C4=8Da?= <martin.jurca@firma.seznam.cz> Date: Tue, 20 Feb 2018 16:08:29 +0100 Subject: [PATCH] added missing documentation --- index.html | 23 ++++++++++++++++++++--- js/reveal.js | 2 ++ 2 files changed, 22 insertions(+), 3 deletions(-) diff --git a/index.html b/index.html index 98accc3a..e3e10c17 100644 --- a/index.html +++ b/index.html @@ -24,8 +24,23 @@ <body> <div class="reveal"> <div class="slides"> - <section>Slide 1</section> - <section>Slide 2</section> + <section data-timing="6"> + 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> @@ -42,7 +57,9 @@ { src: 'plugin/markdown/markdown.js' }, { src: 'plugin/notes/notes.js', async: true }, { src: 'plugin/highlight/highlight.js', async: true, callback: function() { hljs.initHighlightingOnLoad(); } } - ] + ], + controlsTutorial: false, + defaultTiming: 3 }); </script> </body> diff --git a/js/reveal.js b/js/reveal.js index 9a1422fb..12d67bf1 100644 --- a/js/reveal.js +++ b/js/reveal.js @@ -5269,6 +5269,8 @@ // Returns an Array of all slides getSlides: getSlides, + // Returns an Array of objects representing the attributes on + // the slides getSlidesMetaInfo: getSlidesMetaInfo, // Returns the total number of slides -- GitLab