1import {Controller} from "@hotwired/stimulus"; 2 3export default class extends Controller { 4 static targets = [ "collapse" ]; 5 6 collapse(event) { 7 this.toggleClass(this.collapseTarget, 'mobile-collapsed'); 8 this.toggleClass(event.target, 'toggled'); 9 } 10 11 toggleClass(target, classe) { 12 target.classList.toggle(classe) 13 } 14}
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.