1import { Controller } from "@hotwired/stimulus" 2 3export default class extends Controller { 4 static targets = [ "item", "anchor" ] 5 6 _listener = () => { this.scrolling(); } 7 8 connect() { 9 //document.addEventListener('turbo:frame-render', this._listener); 10 } 11 12 scrolling() { 13 this.anchorTarget.scrollIntoView(); 14 } 15 16 disconnect() { 17 document.removeEventListener('turbo:frame-render', this._listener); 18 } 19};
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.