PageSourceSearch

https://haws.co.uk/cdn/shop/t/22/assets/dropdown.js?v=77982132541737196181748939159

js haws.co.uk collected 2026-10-02 11:35:11 UTC 1,213 bytes, 2 lines download raw bytes

1class CustomDropdown extends HTMLElement{constructor(){super(),this.flag=!1,this.dropdown_title=this.querySelector("[dropdown-title]"),this.dropdown_list=this.querySelector("[dropdown-list]"),this.button=this.querySelector("button"),this.addEventListener("click",this.dropdownToggle.bind(this)),window.addEventListener("scroll",this.hideDropdown.bind(this)),this.button&&this.button.addEventListener("focusout",this.hideDropdown.bind(this)),this.hasAttribute("drop-type")&&this.getAttribute("drop-type")=="select"&&(this.dropdown_list_item=this.querySelectorAll("[dropdown-list] a"),this.dropdown_list_item.forEach(link=>{link.addEventListener("click",this.itemSelect.bind(this))}))}itemSelect(e){this.dropdown_title.textContent=e.target.textContent}hideDropdown(){this.flag=!1,this.classList.remove("active"),this.setAttribute("aria-selected",this.flag)}dropdownToggle(){this.flag=!this.flag,this.classList.toggle("active"),this.classList.contains("active")&&this.button.focus(),this.setAttribute("aria-selected",this.flag)}}customElements.get("custom-dropdown")||customElements.define("custom-dropdown",CustomDropdown);
2//# sourceMappingURL=/cdn/shop/t/22/assets/dropdown.js.map?v=77982132541737196181748939159

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.