1 2document.addEventListener("DOMContentLoaded", function () { 3 4 const observer = new IntersectionObserver((entries) => { 5 entries.forEach(entry => { 6 if (entry.isIntersecting) { 7 8 entry.target.classList.add("animate"); 9 } 10 }); 11 }); 12 13 14 const animatedElements = document.querySelectorAll(".fadeInTrigger, .fadeInFromTop, .fadeInFromBottom, .fadeInFromRight, .fadeInFromLeft, .fadeIn"); 15 // Observa cada elemento 16 animatedElements.forEach(element => { 17 observer.observe(element); 18 }); 19});
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.