chore(lib): update lightgallery 1.2.0 -> 2.4.0
This commit is contained in:
@@ -454,7 +454,19 @@ var Theme = /*#__PURE__*/function () {
|
||||
}, {
|
||||
key: "initLightGallery",
|
||||
value: function 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
|
||||
});
|
||||
}
|
||||
}, {
|
||||
key: "initHighlight",
|
||||
|
||||
Reference in New Issue
Block a user