PageSourceSearch

https://jomoclub.co.uk/cdn/shop/t/3/assets/back-to-top-button.js?v=137321485805967723061717143923

js jomoclub.co.uk collected 2026-10-05 07:07:34 UTC 1,128 bytes, 2 lines download raw bytes

1class BackToTopButton extends HTMLElement{constructor(){super(),this.toggleVisibility=this.toggleVisibility.bind(this),this.scrollToTop=this.scrollToTop.bind(this)}connectedCallback(){window.addEventListener("scroll",this.toggleVisibility),window.addEventListener("resize",this.toggleVisibility),window.addEventListener("touchmove",this.toggleVisibility),this.addEventListener("click",this.scrollToTop),this.toggleVisibility()}disconnectedCallback(){window.removeEventListener("scroll",this.toggleVisibility),window.removeEventListener("resize",this.toggleVisibility),window.removeEventListener("touchmove",this.toggleVisibility),this.removeEventListener("click",this.scrollToTop)}toggleVisibility(){const scrollY=window.scrollY,innerHeight=window.innerHeight;scrollY>innerHeight?(this.classList.add("visible"),this.classList.remove("hidden")):(this.classList.remove("visible"),this.classList.add("hidden"))}scrollToTop(){window.scrollTo({top:0,behavior:"smooth"})}}customElements.define("back-to-top-button",BackToTopButton);
2//# sourceMappingURL=/cdn/shop/t/3/assets/back-to-top-button.js.map?v=137321485805967723061717143923

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.