Retrieve last viewed index from lightbox API
maranmaran opened this issue · comments
Marko Urh commented
Feature request
I wish to get the last index of the item I observed through the lighbox API when lighbox is closed
This can be addition on the close event together with the gallery ref id
Marko Urh commented
Nvm I didn't realize lighbox modifies internal state of the ref, I can access it through state$, snapshot or change event on the ref.
Closing