PageSourceSearch

https://www.obrienswine.ie/cdn/shop/t/590/assets/stmt-drawer-toggle.js?v=120244245744701665311677597346

js obrienswine.ie collected 2026-10-01 13:51:22 UTC 392 bytes, 14 lines download raw bytes

1class SideDrawerToggle extends HTMLElement {
2  constructor() {
3    super();
4
5    this.addEventListener('click', function(evt){
6      evt.preventDefault()
7      let drawer = document.getElementById(this.getAttribute('data-drawer'));
8      const event = new Event('drawer-toggle');
9      drawer.dispatchEvent(event);
10    })
11  }
12}
13
14customElements.define('side-drawer-toggle', SideDrawerToggle);

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.