Version 2.1.0 release
Features
- Add
refresh
method
This helps to refresh lightGallery when children or dynamicEl are changed without callingdestroy
method - Allow plugins to modify core settings
- New plugin for medium like zoom experience
- Add
elementClassNames
prop for react component
Bug fixes
- remove unwanted scrolling with the dynamic gallery.
when the dynamic gallery is initialized with a focusable element such as a, or button if the gallery is opened via a click from another button somewhere else on the page, after closing gallery document scrolls to the first element - Fix dynamic option type
typeof dynamic wasfalse
insteadboolean