1import { Controller } from "@hotwired/stimulus" 2 3// Submits the nearest form when an input changes. 4// Usage: <select data-action="change->auto-submit#submit"> 5export default class extends Controller { 6 submit(event) { 7 const form = event.target.form || this.element.closest("form") 8 if (form) form.requestSubmit() 9 } 10}
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.