kytta / vue-tinybox

🌌 A slick, yet tiny lightbox gallery for Vue.js
http://os.kytta.dev/vue-tinybox/
MIT License
94 stars 7 forks source link

Close (maybe others) event(s) #27

Closed JoaquimLey closed 4 years ago

JoaquimLey commented 4 years ago

Is your feature request related to a problem? It would be great to have an event propagated when the component is closed

Describe the solution you'd like Emit an event

Additional context The reason behind this is my need to wrap the component into another component, where the index is passed down as prop. This prevents leaking the library to the whole codebase. But this issue I get with this is the mutation of the prop directly, I'm fine with this as long I was able to set that prop to null again (on the parent).

kytta commented 4 years ago

Published with v1.3.0 :tada: