1import { Controller } from "../stimulus.js"; 2 3export default class extends Controller { 4 static targets = ["text"]; 5 6 connect() { 7 this.element.addEventListener("child:toggle", this.toggle.bind(this)) 8 } 9 10 disconnect() { 11 this.element.removeEventListener("child:toggle", this.toggle.bind(this)) 12 } 13 14 toggle() { 15 this.textTargets.forEach((text) => { 16 text.classList.toggle("hidden"); 17 }); 18 } 19}
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.