Interface DroppedItem

An item dropped onto THIS app by a host-mediated cross-app drag.

interface DroppedItem {
    from: string;
    item: DraggableItem;
    position: { x: number; y: number };
}

Properties

Properties

from: string

Host-attached source region id — unspoofable (T19), like an ipc from.

The dragged item (bytes present iff the source inlined them).

position: { x: number; y: number }

Drop point in this app's viewport.