PageSourceSearch

https://app.youwindrenewables.com/assets/controllers/debouncesubmit_controller-99a9e9ac.js

js youwindrenewables.com collected 2026-09-29 10:40:48 UTC 417 bytes, 13 lines download raw bytes

1import { Controller } from "@hotwired/stimulus";
2import { debounce } from 'utils/debounce';
3
4export default class extends Controller {
5  connect() {
6    // When any input form inside this controller changes, debounce form submission
7    this.element.querySelectorAll('input').forEach(input => {
8      input.addEventListener('input', debounce(() => {
9        input.form.requestSubmit();
10      }, 1000));
11    });
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.