PhotoSwipe icon indicating copy to clipboard operation
PhotoSwipe copied to clipboard

v5-beta Passing itemData to button event

Open marwl opened this issue 3 years ago • 0 comments

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?

marwl avatar Jul 20 '21 17:07 marwl