PageSourceSearch

https://www.techniques-ingenieur.fr/assets/controllers/lazy_src_controller-oVeWwit.js

js techniques-ingenieur.fr collected 2026-09-24 09:15:33 UTC 330 bytes, 17 lines download raw bytes

1import {Controller} from '@hotwired/stimulus'
2import {useIntersection} from 'stimulus-use'
3
4/* stimulusFetch: 'lazy' */
5export default class extends Controller {
6    static values = {
7        src: String,
8    }
9
10    connect() {
11        useIntersection(this)
12    }
13
14    appear() {
15        this.element.src = this.srcValue;
16    }
17}

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.