PhotoSwipe
PhotoSwipe copied to clipboard
v5-beta Passing itemData to button event
Hi, love your library. How do you feel about passing the current itemData or sth similar to the button event? It's no real problem I can get quite easily access it via lightbox.pswp.currItemData .. but it would make it nicer to set up and I imagine it could be helpful to others?