1const images = document.querySelectorAll('.img-wrap'); 2const animationClassName = 'img-animation'; 3 4const observer = new IntersectionObserver((entries, observer) => { 5 entries.forEach((entry) => { 6 if (entry.isIntersecting) { 7 entry.target.classList.add(animationClassName); 8 observer.unobserve(entry.target); // 1åã ãå®è¡ããã 9 } 10 }); 11}); 12 13images.forEach((image) => { 14 observer.observe(image); 15});
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.