PageSourceSearch

https://pipanz.com/assets/controllers/component_array_drag_drop_controller-Ezq2RTM.js

js pipanz.com collected 2026-10-07 02:28:34 UTC 556 bytes, 15 lines download raw bytes

1/* stimulusFetch: 'lazy' */
2// noinspection SymfonyImportMapModuleIsNotInstalled
3import DragDropController from './drag_drop_controller.js';
4
5// noinspection JSUnusedGlobalSymbols loaded via stimulus
6export default class ComponentArrayDragDropController extends DragDropController {
7
8    onDrop (_dragItem, _dropTarget, _relativePosition) {
9        /** @type {HTMLElement} */
10        const element = this.element;
11        element.querySelectorAll('input[data-position]').forEach((positionElm, i) => {
12            positionElm.value = i;
13        });
14    }
15}

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.