Closed mowabidev closed 2 years ago
I don't see what's wrong at first glance, please provide a reduced test case.
Thank @dimsemenov you for your quick response. I just created a codepen that you can find here https://codepen.io/mowabi/pen/WNzdgae. But strangely, on the codepen, I notice that the captions change, but not with the correct images. First, for a few seconds, it maintains the same caption for all images and then they change, but do not match the images.
You're using currSlide
for captionContent
option, because of that nearby slides get "current" slide caption too. Should be something like:
captionContent: (slide) => slide.data.author
You are right @dimsemenov . That's the problem. But I remember using slide
and it was returning slide is undefined
error. I must have used it wrong. Thank you very much. It works like a charm!
Hello,
I try to use the plugin in a Vue application. The gallery itself works fine. But when I try to use the caption plugin, the caption is not updated when the gallery image changes. Can you tell me how to proceed? Here is my code.