felixhagspiel / jsOnlyLightbox

Responsive Lightbox in plain JS. No need for jQuery.
MIT License
157 stars 51 forks source link

Add more information/parameters to callbacks #33

Open ghost opened 8 years ago

ghost commented 8 years ago

The current callbacks are nice, but they are - as far as I can tell - lacking important information. I can see no way to get the actual image which was opened, or which image failed to load.

It would be nice to have more information in the event objects / event objects at all.

felixhagspiel commented 8 years ago

That is true. As I am pretty busy atm, it might take a while until I can implement it. But you are also welcome to contribute if you got time :)