1
0
mirror of https://github.com/hakimel/reveal.js.git synced 2025-07-31 20:00:28 +02:00

Merge pull request #2901 from sacproj/showPreview

Expose preview management functions
This commit is contained in:
Hakim El Hattab
2021-05-05 10:05:55 +02:00
committed by GitHub

View File

@@ -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,