1import { Component, getChildrenFragment } from "/js/components/component.js"; 2import { html, render } from "/js/lib/lit-html.js"; 3 4class ContextMenuLabel extends Component { 5 connectedCallback() { 6 if (this._initialized) { 7 return; 8 } 9 this._children = getChildrenFragment(this); 10 this.innerHTML = ""; 11 this.render(); 12 this._initialized = true; 13 } 14 15 render() { 16 render(html`<div class="context-menu-label"></div>`, this); 17 const el = this.querySelector(".context-menu-label"); 18 el.appendChild(this._children); 19 } 20} 21 22ContextMenuLabel.register();
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.