Skip to content

Commit

Permalink
Merge pull request hakimel#2901 from sacproj/showPreview
Browse files Browse the repository at this point in the history
Expose preview management functions
  • Loading branch information
hakimel authored May 5, 2021
2 parents 2e34482 + 2d050f8 commit 48598cb
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions js/reveal.js
Original file line number Diff line number Diff line change
Expand Up @@ -2500,6 +2500,10 @@ export default function( revealElement, options ) {
loadSlide: slideContent.load.bind( slideContent ),
unloadSlide: slideContent.unload.bind( slideContent ),

// Preview management
showPreview,
hidePreview: closeOverlay,

// Adds or removes all internal event listeners
addEventListeners,
removeEventListeners,
Expand Down

0 comments on commit 48598cb

Please sign in to comment.