Преглед на файлове

added missing documentation

Martin Jurča преди 6 години
родител
ревизия
250580fc4c
променени са 2 файла, в които са добавени 22 реда и са изтрити 3 реда
  1. 20 3
      index.html
  2. 2 0
      js/reveal.js

+ 20 - 3
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>

+ 2 - 0
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