Explorar o código

add public "togglePause()" access

Olivier Philippon %!s(int64=12) %!d(string=hai) anos
pai
achega
9c951e07cd
Modificáronse 1 ficheiros con 3 adicións e 0 borrados
  1. 3 0
      js/reveal.js

+ 3 - 0
js/reveal.js

@@ -1612,6 +1612,9 @@ var Reveal = (function(){
 		// Toggles the overview mode on/off
 		toggleOverview: toggleOverview,
 
+		// Toggles the "black screen" mode on/off
+		togglePause: togglePause,
+
 		// Adds or removes all internal event listeners (such as keyboard)
 		addEventListeners: addEventListeners,
 		removeEventListeners: removeEventListeners,