silencesys / silentbox

A lightbox inspired Vue.js component.
https://silentbox.rocek.dev
MIT License
296 stars 51 forks source link

Emit event with current item when move to next or previous item #40

Closed supotsaea2504 closed 3 years ago

supotsaea2504 commented 3 years ago

Existing events are fired without valueable data. At least item number refer to :gallery is need.

silencesys commented 3 years ago

Hello, thank you! The payload was updated and now returns item object which holds all the information about currently selected item. See version 2.4.0.