PageSourceSearch

https://symfony.com/assets/controllers/notification_preferences_controller-BpjIdjW.js

js symfony.com collected 2026-09-24 06:39:52 UTC 376 bytes, 16 lines download raw bytes

1import { Controller } from '@hotwired/stimulus';
2
3export default class extends Controller {
4    static targets = ['noNotifications', 'option'];
5
6    connect() {
7        this.toggle();
8    }
9
10    toggle() {
11        const disabled = this.noNotificationsTarget.checked;
12        this.optionTargets.forEach((option) => {
13            option.disabled = disabled;
14        });
15    }
16}

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.