瀏覽代碼

add public "togglePause()" access

Olivier Philippon 12 年之前
父節點
當前提交
9c951e07cd
共有 1 個文件被更改,包括 3 次插入0 次删除
  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,