mirror of
https://github.com/hugo-fixit/FixIt.git
synced 2026-08-24 23:38:56 +00:00
⬆️ Chore(libs): update lightgallery from 1.4.0 to 2.6.0
This commit is contained in:
+15
-1
@@ -401,7 +401,21 @@ class FixIt {
|
||||
}
|
||||
|
||||
initLightGallery() {
|
||||
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