PageSourceSearch

https://spacestudio.com.br/Components/Admin/Pages/Portfolio/GaleriaProjeto.ptc3jlifbp.razor.js

js spacestudio.com.br collected 2026-10-05 20:43:38 UTC 573 bytes, 16 lines download raw bytes

1// Arrastar para reordenar (galeria do projeto e diálogo de ordem). O Blazor trata os eventos de arraste; aqui só o que
2// ele não faz: o Firefox só inicia o arraste se houver dados no dataTransfer.
3
4export function prepararArraste(container) {
5    if (!container || container._ssArraste) {
6        return;
7    }
8
9    container._ssArraste = true;
10    container.addEventListener('dragstart', e => {
11        if (e.dataTransfer) {
12            e.dataTransfer.effectAllowed = 'move';
13            e.dataTransfer.setData('text/plain', '');
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.