Closed tbiering closed 4 years ago
Sorry for the confusion - I also added this already during refactoring - you where too fast ;-)
No problem, just one more suggestion: I added a "How to use the PhotoSwipe API" chapter to the readme which is missing on your update. I think this (or similar) would be a worthwhile addition for people searching about how to extend the plugin.
Thanks for the quick update on the plugin!
I just added the FAQ entry about the API with https://github.com/arnowelzel/lightbox-photoswipe/commit/d84113c5798a840f5e0d27f8017683b64a862e80.
As discussed in issue #54, this PR adds support for the Photoswipe API by creating a global variable "lbwpsPhotoSwipe" to allow interaction with the JavaScript object.