Scoop API

scoop:scoop.ui:0.1.0

DragSourceData

struct DragSourceData

source · line 31
public
public struct DragSourceData(val content: DragContent, val effects: DragEffects = DragEffects(true, false, false), val localData: Any? = None, val preview: DragPreview? = None, val onCompleted: (DragResult) -> Unit = {})

The completion belongs to this prepared source, even when later renders replace prepare.

constructor constructor

source · line 31
public
constructor(val content: DragContent, val effects: DragEffects = DragEffects(true, false, false), val localData: Any? = None, val preview: DragPreview? = None, val onCompleted: (DragResult) -> Unit = {})