Expand description
Drops arriving from outside your app — selected text, links dragged from
another tab, content from other applications — plus typed serde payloads
over Dioxus 0.7’s DataTransfer bridge for interop scenarios where the
Rust-side context can’t reach.
For drags between elements of your own app, prefer the core context: it
carries any Clone type with zero serialization. Reach for this module
when the browser is the transport.
Re-exports§
pub use ExternalDropZone_completions::Component::ExternalDropZone;
Modules§
- typed
- Typed payloads over the native
DataTransfer(JSON-encoded underapplication/json, wire-compatible with dioxus-html’s ownstore/retrieve). Useful when the browser must carry the data — e.g. dragging between two separate Dioxus apps or windows — at the cost of requiringSerialize/Deserialize.
Structs§
- External
Drop - A decoded external drop.
- External
Drop Zone Props - Properties for the
ExternalDropZonecomponent.
Enums§
- External
Payload - Content the browser handed us from an external drag, best-effort decoded in order of specificity.
Functions§
- External
Drop Zone - A zone accepting drops that originate outside the app.
- classify
- Decode an incoming drag event’s
DataTransferintoExternalPayloads.