1var timelineSwiper = new Swiper(".timeline .swiper-container", { 2 direction: "vertical", 3 loop: false, 4 speed: 1600, 5 pagination: ".swiper-pagination", 6 paginationBulletRender: function(swiper, index, className) { 7 var year = document.querySelectorAll(".swiper-slide")[index].getAttribute("data-year"); 8 9 return '<span class="' + className + '">' + year + "</span>"; 10 console.log(index); 11 }, 12 paginationClickable: true, 13 nextButton: ".swiper-button-next", 14 prevButton: ".swiper-button-prev", 15 // breakpoints: { 16 // 768: { 17 // direction: "horizontal", 18 // }, 19 // }, 20}); 21var $lastSlide = jQuery('.swiper-slide').length; 22 23if ($lastSlide) { 24 timelineSwiper.slideTo($lastSlide, false, false); 25}
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.