PageSourceSearch

https://www.nrityagram.org/utils/zoomin-observer.js

js nrityagram.org collected 2026-09-24 21:49:39 UTC 460 bytes, 20 lines download raw bytes

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.