1(function(Drupal, $) { 2 Drupal.behaviors.accreditationsÐenuSlider = { 3 attach: function(context, settings) { 4 let swiper = new Swiper('.accreditations-menu__container', { 5 lazy: true, 6 breakpoints: { 7 // when window width is >= 320px 8 320: { 9 slidesPerView: 3, 10 spaceBetween: 5, 11 }, 12 // when window width is >= 768px 13 768: { 14 slidesPerView: 4, 15 spaceBetween: 10, 16 }, 17 // when window width is >= 992px 18 992: { 19 slidesPerView: 5, 20 spaceBetween: 30, 21 }, 22 // when window width is >= 1200px 23 1200: { 24 slidesPerView: 6, 25 spaceBetween: 30, 26 } 27 }, 28 navigation: { 29 nextEl: '.swiper-button-next', 30 prevEl: '.swiper-button-prev', 31 }, 32 }); 33 } 34 }; 35})(Drupal, jQuery);
Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.