1import {Controller} from '@hotwired/stimulus' 2 3export default class extends Controller { 4 static values = {scrollableSelector: String} 5 6 scrollToBottom() { 7 if (this.hasScrollableSelectorValue) { 8 const scrollable = this.element.closest(this.scrollableSelectorValue) || this.element.querySelector(this.scrollableSelectorValue) 9 if (scrollable){ 10 scrollable.scrollTop = scrollable.scrollHeight 11 } 12 } 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.