PHP Classes

File: assets/js/pages/search-result.init.js

Recommend this page to a friend!
  Classes of Braun Okoi Boniface   eprotech   assets/js/pages/search-result.init.js   Download  
File: assets/js/pages/search-result.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: 1 year ago
Size: 693 bytes
 

Contents

Class file image Download
var swiper=new Swiper(".images-menu",{slidesPerView:"auto",spaceBetween:10,pagination:{el:".swiper-pagination",clickable:!0}}),lightbox=GLightbox({selector:".image-popup",title:!1});function _toConsumableArray(e){if(Array.isArray(e)){for(var r=0,t=Array(e.length);r<e.length;r++)t[r]=e[r];return t}return Array.from(e)}var currentItems,loadmore=document.querySelector("#loadmore");loadmore&&(currentItems=3,loadmore.addEventListener("click",function(e){var r=[].concat(_toConsumableArray(document.querySelectorAll(".list .list-element")));if(r){for(var t=currentItems;t<currentItems+3;t++)r[t]&&(r[t].style.display="block");(currentItems+=3)>=r.length&&(event.target.style.display="none")}}));