1import { Controller } from "@hotwired/stimulus" 2 3// Connects to data-controller="dropdown" 4export default class extends Controller { 5 connect() { 6 } 7 8 toggleSummaryDropdown() { 9 this.element.querySelector('.summary-dropdown').classList.toggle('hidden') 10 this.element.querySelector('.summary-toggle').classList.toggle('!bg-white') 11 this.element.querySelector('.summary-toggle').classList.toggle('sm:!bg-darkBlue') 12 this.element.querySelector('.summary-toggle').classList.toggle('!text-darkBlue') 13 14 if(this.element.querySelector('.dropdown-arrow')) { 15 this.element.querySelector('.dropdown-arrow').classList.toggle('!rotate-180') 16 } 17 } 18};
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.