1const zoominElements = document.querySelectorAll('.zoom-in') 2 3const zoominOptions = { 4 threshold: 0.1 5} 6 7const zoomOnScroll = new IntersectionObserver((entries, zoomOnScroll) => { 8entries.forEach(entry => { 9 if (!entry.isIntersecting) { 10 return 11 } else { 12 entry.target.classList.add('appear') 13 zoomOnScroll.unobserve(entry.target) 14 } 15}) 16}, zoominOptions) 17 18zoominElements.forEach(zoomer => { 19 zoomOnScroll.observe(zoomer) 20})
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.