1import { Controller } from "@hotwired/stimulus" 2 3// Shows a spinner inside a load-more link while its turbo_stream fetch is in 4// flight. The response replaces or removes the whole wrapper, so the state 5// never needs resetting on success. 6export default class extends Controller { 7 static targets = ["spinner"] 8 9 loading() { 10 this.spinnerTarget.classList.remove("hidden") 11 this.element.classList.add("pointer-events-none") 12 } 13}
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.