PageSourceSearch

https://platform.isms.online/assets/controllers/truncate_controller-acd2ed88.js

js isms.online collected 2026-09-24 15:36:17 UTC 350 bytes, 18 lines download raw bytes

1import { Controller } from "@hotwired/stimulus"
2
3export default class extends Controller {
4  static values = {
5    tolerance: Number
6  }
7
8  connect() {
9    const parent = this.element.parentElement
10    if (parent.scrollHeight <= parent.clientHeight + this.toleranceValue) {
11      this.expand()
12    }
13  }
14
15  expand() {
16    this.element.remove()
17  }
18}

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.