1import { Controller } from '@hotwired/stimulus'; 2 3// Connects to data-controller="withdrawal-survey" 4export default class extends Controller { 5 static targets = ['freeDescriptionCheckbox', 'freeDescriptionArea']; 6 7 connect() { 8 this.toggleFreeDescription(); 9 } 10 11 toggleFreeDescription() { 12 if (!this.hasFreeDescriptionCheckboxTarget) return; 13 14 if (this.freeDescriptionCheckboxTarget.checked) { 15 this.freeDescriptionAreaTarget.classList.remove('hidden'); 16 } else { 17 this.freeDescriptionAreaTarget.classList.add('hidden'); 18 } 19 } 20};
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.