Pārlūkot izejas kodu

add public "togglePause()" access

Olivier Philippon 12 gadi atpakaļ
vecāks
revīzija
9c951e07cd
1 mainītis faili ar 3 papildinājumiem un 0 dzēšanām
  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,