1import { Controller } from "@hotwired/stimulus" 2 3export default class extends Controller { 4 static targets = ["content", "icon", "label"] 5 6 toggle() { 7 const isHidden = this.contentTarget.classList.toggle("hidden") 8 9 if (isHidden) { 10 this.iconTarget.classList.remove("rotate-90") 11 this.labelTarget.textContent = "View orders" 12 } else { 13 this.iconTarget.classList.add("rotate-90") 14 this.labelTarget.textContent = "Hide orders" 15 } 16 } 17}
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.