PHP Classes

File: assets/js/pages/gallery.init.js

Recommend this page to a friend!
  Classes of Braun Okoi Boniface   eprotech   assets/js/pages/gallery.init.js   Download  
File: assets/js/pages/gallery.init.js
Role: Auxiliary data
Content type: text/plain
Description: Auxiliary data
Class: eprotech
Application to access medical product suppliers
Author: By
Last change:
Date: 2 years ago
Size: 713 bytes
 

Contents

Class file image Download
document.addEventListener("DOMContentLoaded",function(e){var t;document.querySelector(".gallery-wrapper")&&(t=new Isotope(".gallery-wrapper",{itemSelector:".element-item",layoutMode:"fitRows"}));var r=document.querySelector(".categories-filter");r&&r.addEventListener("click",function(e){!matchesSelector(e.target,"li a")||(e=e.target.getAttribute("data-filter"))&&t.arrange({filter:e})});r=document.querySelectorAll(".categories-filter");r&&Array.from(r).forEach(function(e){var t;(t=e).addEventListener("click",function(e){matchesSelector(e.target,"li a")&&(t.querySelector(".active").classList.remove("active"),e.target.classList.add("active"))})})});var lightbox=GLightbox({selector:".image-popup",title:!1});