// Drag-and-drop file uploader with per-file progress. Progressive enhancement: // the markup is inert until /__wrnexus/uploader.js loads (auto-injected when a // page contains `data-uploader`). Pairs with `handleUpload` on the server — // files POST to `endpoint`, which returns `{ ok, files:[{ key, url, … }] }`. // //
component FileUpload { props { store = "public" endpoint = "/api/upload" accept = "" multiple = false max = 0 label = "Drag files here or click to browse" class = "" } view {
} }