How would I go about accessing the properties of PhotoSwipe after I have initialised it with your plugin? For example how would I get "pswp.getCurrentIndex();"
I tried $.fn.photoSwipe.PhotoSwipe.getCurrentIndex(); and various other things, but got nothing back.
How would I go about accessing the properties of PhotoSwipe after I have initialised it with your plugin? For example how would I get "pswp.getCurrentIndex();"
I tried $.fn.photoSwipe.PhotoSwipe.getCurrentIndex(); and various other things, but got nothing back.
Many thanks, Jake.