Do not destoy it after close
For example, I have the only one gallery on my page. I don't want to create new gallery object every time.
var g = new PhotoSwipe( ... )
g.init()
so when i want to open it after close i should create new PhotoSwipe object; But i want something like g.open() instead
Thank!
24
votes
