chore(lib): update lightgallery 1.2.0 -> 2.4.0
This commit is contained in:
@@ -325,7 +325,19 @@ class Theme {
|
||||
}
|
||||
|
||||
initLightGallery() {
|
||||
if (this.config.lightGallery) lightGallery(document.getElementById('content'), this.config.lightGallery);
|
||||
if (this.config.lightgallery) lightGallery(document.getElementById('content'), {
|
||||
plugins: [lgThumbnail, lgZoom],
|
||||
selector: '.lightgallery',
|
||||
speed: 400,
|
||||
hideBarsDelay: 2000,
|
||||
allowMediaOverlap: true,
|
||||
exThumbImage: 'data-thumbnail',
|
||||
toggleThumb: true,
|
||||
thumbWidth: 80,
|
||||
thumbHeight: '60px',
|
||||
actualSize: false,
|
||||
showZoomInOutIcons: true,
|
||||
});
|
||||
}
|
||||
|
||||
initHighlight() {
|
||||
|
||||
Reference in New Issue
Block a user