Merge pull request #2901 from sacproj/showPreview

Expose preview management functions
edit
Hakim El Hattab 2021-05-05 10:05:55 +02:00 committed by GitHub
commit 48598cb547
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 4 additions and 0 deletions

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,