Explorar o código

define available values for showSlideNumber

Hakim El Hattab %!s(int64=5) %!d(string=hai) anos
pai
achega
2a9edd23e6
Modificáronse 1 ficheiros con 4 adicións e 1 borrados
  1. 4 1
      js/reveal.js

+ 4 - 1
js/reveal.js

@@ -73,7 +73,10 @@
 			// based)
 			// based)
 			hashOneBasedIndex: false,
 			hashOneBasedIndex: false,
 
 
-			// Determine which displays to show the slide number on
+			// Controls which contexts the slide number should appear in
+			// - "all":      Always show the slide number
+			// - "print":    Only when printing to PDF
+			// - "speaker":  Only in the speaker view
 			showSlideNumber: 'all',
 			showSlideNumber: 'all',
 
 
 			// Add the current slide number to the URL hash so that reloading the
 			// Add the current slide number to the URL hash so that reloading the