silentbox
silentbox copied to clipboard
How to make a transition-group ?
I do have the following:
<silent-box :gallery="photos">
<template #silentbox-item="{ silentboxItem }">
<img :src="silentboxItem.src" />
...
</template>
</silent-box>
I'm not sure how to add transition-group
to that kind of code. Tried it in pretty much any way without success.
Can you give me a tip for that one ? 😄
What do you want to achieve? :)
If I remove some photos, I wish to have some fluid transition with each element moving to their future position rather than just an instant positioning on the empty slots.