PageSourceSearch

https://www.atlasroofing.com/resources/js/components/product-category-banner.js?v=20261001065826

js atlasroofing.com collected 2026-10-01 13:59:03 UTC 549 bytes, 20 lines download raw bytes

1document.addEventListener('alpine:init', () => {
2    Alpine.data('productBanner', () => ({
3
4        carousel:  document.getElementById('relatedProductsSlider'),
5
6        next(){
7            this.carousel.scrollBy({left: 300, behavior: 'smooth'})
8        },
9        prev(){
10            this.carousel.scrollBy({left: -300, behavior: 'smooth'})
11        },
12
13        init(){
14            var rect = document.getElementsByClassName('product-active')[0].getBoundingClientRect();
15            this.carousel.scroll({left: rect.x - 300})
16        }
17
18    }))
19})
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.