PageSourceSearch

https://hackorum.dev/assets/controllers/debounced_submit_controller-dfc567da.js

js hackorum.dev collected 2026-09-28 07:00:23 UTC 338 bytes, 14 lines download raw bytes

1import { Controller } from "@hotwired/stimulus"
2
3export default class extends Controller {
4  static values = { delay: { type: Number, default: 300 } }
5
6  disconnect() {
7    clearTimeout(this.timeout)
8  }
9
10  submit() {
11    clearTimeout(this.timeout)
12    this.timeout = setTimeout(() => this.element.requestSubmit(), this.delayValue)
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.