1import { Controller } from '@hotwired/stimulus'; 2 3/* stimulusFetch: 'lazy' */ 4export default class extends Controller { 5 static targets = ["devisType", "options"]; 6 7 connect() { 8 this.afficheOption(); 9 } 10 11 afficheOption() { 12 if(this.estSurMesure()) { 13 this.optionsTarget.classList.remove('d-none'); 14 } else { 15 this.optionsTarget.classList.add('d-none'); 16 } 17 } 18 19 estSurMesure() { 20 return this.devisTypeTarget.value === "3"; 21 } 22}
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.