Documentation
¶
Overview ¶
Command dragoutprobe is a live-verify harness for pre-rebrand tracker #515 Part B (drag-out to other applications). It shows a box you can drag OUT of the bellui window into Finder (drops a .txt file) or a text editor (drops the text).
On desktop the box uses the push path (desktop.StartDrag from Dragged); macOS, Windows and Linux have native backends, other desktops log that StartDrag returned false. On the web target (GOOS=js GOARCH=wasm) drag-out is pull-based (pre-rebrand tracker #874): the box also implements desktop.DragOutProvider, which the wasm HTML5 Drag-and-Drop backend consults at drag start (pre-rebrand tracker #857). Build the web version with the bellui CLI and drag the box onto a browser drop zone or another app.
go run ./hack/dragoutprobe # desktop bellui package -os web && (serve bellui-web/) # web