11 lines
231 B
JavaScript
11 lines
231 B
JavaScript
import JustifiedGallery from "./lib/gallery.js";
|
|
|
|
document.addEventListener("DOMContentLoaded", () => {
|
|
let element = document.getElementById("gallery")
|
|
|
|
new JustifiedGallery(element, {
|
|
wrapLinks: true,
|
|
});
|
|
})
|
|
|