aboutsummaryrefslogtreecommitdiffhomepage
path: root/js/reveal.js
diff options
context:
space:
mode:
authorHakim El Hattab2012-06-02 18:37:18 -0400
committerHakim El Hattab2012-06-02 18:37:18 -0400
commiteb0a8cfa95e9f5cfce01f7fd9cd1bf49744a29b8 (patch)
treeaa5ea38d731ae8dbdf446310557f9d4690670a3b /js/reveal.js
parent6db42971eaa9f926fd68649e5daa2c883db9da28 (diff)
api methods for adding/removing all event listeners (#48)
Diffstat (limited to 'js/reveal.js')
-rw-r--r--js/reveal.js3
1 files changed, 3 insertions, 0 deletions
diff --git a/js/reveal.js b/js/reveal.js
index c51f87b..c1f50b8 100644
--- a/js/reveal.js
+++ b/js/reveal.js
@@ -908,6 +908,9 @@ var Reveal = (function(){
navigateDown: navigateDown,
toggleOverview: toggleOverview,
+ addEventListeners: addEventListeners,
+ removeEventListeners: removeEventListeners,
+
// Forward event binding to the reveal DOM element
addEventListener: function( type, listener, useCapture ) {
( dom.wrapper || document.querySelector( '.reveal' ) ).addEventListener( type, listener, useCapture );