codecomputerlove/PhotoSwipe — Issue #157: Gallery Close event?
Author: justin-jewett
Created: 2011-10-12 20:42:07+00:00
State: open

Is there an event that's fired with a photoswipe gallery instance is closed? If not, is there some other hook that I can key on when this happens?

I am using Photoswipe with jquery. I am fading my page contents in on load using fadeIn. On an iPad, when I launch the photoswipe gallery and then close it back down, my page has reverted to the blank 'display: none' attribute from the initial style.

Just looking for any event that I can listen for and fade the page back up to visible when the gallery is closed.

Thanks very much. This is an absolutely fantastic module.

Justin