DragAndDropTargetModifierNode
Function
Common
fun DragAndDropTargetModifierNode(
shouldStartDragAndDrop: (event: DragAndDropEvent) -> Boolean,
target: DragAndDropTarget,
): DragAndDropTargetModifierNode
Creates a DragAndDropTargetModifierNode
for receiving transfer data from platform drag and drop
sessions.
Parameters
shouldStartDragAndDrop | allows for inspecting the start DragAndDropEvent for a given session to decide whether or not the provided DragAndDropTarget would like to receive from it. |
target | allows for receiving events and transfer data from a given drag and drop session. |