Closed woojoo666 closed 7 years ago
Is there a way to add/remove items from the gallery, and then refresh the gallery?
I tried just modifying the "items" array and using nanoGallery('reload'), but it didn't change anything: CodePen
Perhaps it only works with inline elements, and not javascript arrays?
This feature is available in nanogallery2 v1.0.0
Here's a codepen example: http://codepen.io/Kris-B/pen/wJKowg
Is there a way to add/remove items from the gallery, and then refresh the gallery?
I tried just modifying the "items" array and using nanoGallery('reload'), but it didn't change anything: CodePen
Perhaps it only works with inline elements, and not javascript arrays?