PageSourceSearch

https://instone.de/assets/controllers/image_title_copy_mobile_coll…9c34e455871470a16d66bdc061899ab2ed47b842.js

js instone.de collected 2026-10-02 04:12:26 UTC 555 bytes, 18 lines download raw bytes

1import { Controller } from "@hotwired/stimulus";
2
3// Connects to data-controller="image-title-copy-mobile-collapse"
4export default class extends Controller {
5  static targets = ["toggle", "img_wrapper"];
6  // check if toggle has aria-expanded="true", img_wrapper should get a class "expanded"
7  connect() {
8    this.update();
9  }
10
11  update() {
12    if (this.toggleTarget.getAttribute("aria-expanded") === "true") {
13      this.img_wrapperTarget.classList.add("expanded");
14    } else {
15      this.img_wrapperTarget.classList.remove("expanded");
16    }
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.