export default class LightboxManager {
    constructor(lightboxId) {
        this.lightbox = document.getElementById(lightboxId);
        const closeButton = this.lightbox.querySelector(".close");
        closeButton.addEventListener("click", () => this.hideLightbox());
    }
    showLightbox(content) {
        const contentContainer = this.lightbox.querySelector(".content");
        contentContainer.innerHTML = content;
        this.lightbox.classList.add("active");
    }
    hideLightbox() {
        this.lightbox.classList.remove("active");
    }
}
//# sourceMappingURL=LightboxManager.js.map