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.