Merge pull request #2901 from sacproj/showPreview
Expose preview management functions
This commit is contained in:
commit
48598cb547
@ -2500,6 +2500,10 @@ export default function( revealElement, options ) {
|
|||||||
loadSlide: slideContent.load.bind( slideContent ),
|
loadSlide: slideContent.load.bind( slideContent ),
|
||||||
unloadSlide: slideContent.unload.bind( slideContent ),
|
unloadSlide: slideContent.unload.bind( slideContent ),
|
||||||
|
|
||||||
|
// Preview management
|
||||||
|
showPreview,
|
||||||
|
hidePreview: closeOverlay,
|
||||||
|
|
||||||
// Adds or removes all internal event listeners
|
// Adds or removes all internal event listeners
|
||||||
addEventListeners,
|
addEventListeners,
|
||||||
removeEventListeners,
|
removeEventListeners,
|
||||||
|
Loading…
Reference in New Issue
Block a user