silencesys / silentbox

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

How to target an image from the gallery #54

Closed preans closed 3 years ago

preans commented 3 years ago

I want to delete an image from the gallery.

Is it possible to target an image with an 'x' in the top corner, and not expand when selected?

The existing events don't prevent default behavior I think.

Thanks!

silencesys commented 3 years ago

Hey, thanks for your question. However, at the moment this is not possible and I don't think I will make it possible in future. The X in the top corner should always work as a close/hide button.