DropEvent
This structure is passed to the callbacks of the DropArea element
Properties
Section titled “Properties”data: DataTransfer | NoneThe payload set on the source DragArea.
position
Section titled “position”position: LogicalPosition | NoneThe cursor position in the DropArea’s local coordinates.
allow_copy
Section titled “allow_copy”allow_copy: boolMirrors DragArea.allow-copy: true if the source allows the drop to copy the data.
allow_move
Section titled “allow_move”allow_move: boolMirrors DragArea.allow-move: true if the source allows the drop to move the data.
allow_link
Section titled “allow_link”allow_link: boolMirrors DragArea.allow-link: true if the source allows the drop to link to the data.
proposed_action
Section titled “proposed_action”proposed_action: DragAction | NoneThe action negotiated from current modifier state and the source’s preferred-action,
clamped to the allowed set. Updated on every DragMove. The target’s can-drop
callback can return this to honor the user’s modifier choice, or override with
any other allowed action.
© 2026 SixtyFPS GmbH