question about usage in chat apps #1123
-
Hello, i've a question. |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 3 replies
-
Hey @Ahmed-Elrayes, Sorry for the delayed response, I forgot to check the discussion section. You can just need to call the If you want to make it more dynamic, you can try using dynamic mode and refresh it, and open using |
Beta Was this translation helpful? Give feedback.
Hey @Ahmed-Elrayes,
Sorry for the delayed response, I forgot to check the discussion section.
You can just need to call the
refresh()
method once a new photo or video is addedDocs - https://www.lightgalleryjs.com/docs/methods/#refresh
Demo - https://www.lightgalleryjs.com/demos/infinite-scrolling/
If you want to make it more dynamic, you can try using dynamic mode and refresh it, and open using
openGallery
when the user clicks on any image