1import { Controller } from "@hotwired/stimulus" 2 3// Connects to data-controller="utils--radio-reveal" 4// Shows the panel matching the checked radio's data-utils--radio-reveal-panel-param, hides the rest. 5export default class extends Controller { 6 static targets = ["panel"] 7 8 toggle(event) { 9 const shownPanel = event.params.panel 10 11 this.panelTargets.forEach((panel) => { 12 panel.classList.toggle("d-none", panel.dataset.panel !== shownPanel) 13 }) 14 } 15}
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.