1 2import { Controller } from "@hotwired/stimulus"; 3 4export default class extends Controller { 5 static targets = ["dialog"]; 6 7 static values = { 8 open: Boolean, 9 } 10 11 connect() { 12 if (this.hasOpenValue && this.openValue) { 13 this.open(); 14 } 15 } 16 17 open() { 18 this.dialogTarget.showModal(); 19 } 20 21 close() { 22 this.dialogTarget.close(); 23 } 24};
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.