Initial commit
This commit is contained in:
10
JS/JustifedGallery/assets/js/index.js
Normal file
10
JS/JustifedGallery/assets/js/index.js
Normal file
@@ -0,0 +1,10 @@
|
||||
import JustifiedGallery from "./lib/gallery.js";
|
||||
|
||||
document.addEventListener("DOMContentLoaded", () => {
|
||||
let element = document.getElementById("gallery")
|
||||
|
||||
new JustifiedGallery(element, {
|
||||
wrapLinks: true,
|
||||
});
|
||||
})
|
||||
|
||||
Reference in New Issue
Block a user