Skip to content
Snippets Groups Projects
reveal.js 28.9 KiB
Newer Older
  • Learn to ignore specific revisions
  • 		getIndices: function() {
    			return { 
    				h: indexh, 
    				v: indexv 
    			};
    		},
    
    		// Returns the previous slide element, may be null
    		getPreviousSlide: function() {
    			return previousSlide
    		},
    
    		// Returns the current slide element
    		getCurrentSlide: function() {
    			return currentSlide
    		},
    
    
    		// Forward event binding to the reveal DOM element
    		addEventListener: function( type, listener, useCapture ) {
    
    			( dom.wrapper || document.querySelector( '.reveal' ) ).addEventListener( type, listener, useCapture );
    
    		},
    		removeEventListener: function( type, listener, useCapture ) {
    
    			( dom.wrapper || document.querySelector( '.reveal' ) ).removeEventListener( type, listener, useCapture );