We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
How can I set caption to each image when I open Lightbox like this:
this.$lightbox.open({ items: ['imageUrl1', 'imageUrl2', 'imageUrl3'] })
I tried do it so:
this.$lightbox.open({ items: [ { href: 'imageUrl1', title: 'caption 1' }, { href: 'imageUrl2', title: 'caption 2' }, { href: 'imageUrl3', title: 'caption 3' } ] })
But it doesn't work
The text was updated successfully, but these errors were encountered:
Hello, it's as easy as dividing them: this.$lightbox.open({ items: [imageUrl1,imageUrl2], captions: ['caption1', 'caption2'] ] })
this.$lightbox.open({ items: [imageUrl1,imageUrl2], captions: ['caption1', 'caption2'] ] })
Sorry, something went wrong.
No branches or pull requests
How can I set caption to each image when I open Lightbox like this:
I tried do it so:
But it doesn't work
The text was updated successfully, but these errors were encountered: