PageSourceSearch

https://railsblocks.com/assets/controllers/header_controller-ad9c7…b4c4e48e4aeec2378eb9505bfe3a0078fc5bddad.js

js railsblocks.com collected 2026-09-25 20:23:21 UTC 226 bytes, 11 lines download raw bytes

1import { Controller } from "@hotwired/stimulus";
2
3export default class extends Controller {
4  static get targets() {
5    return ["mainNav"];
6  }
7
8  toggleMobileNav() {
9    this.mainNavTarget.classList.toggle("hidden");
10  }
11};

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.