function dragSource
source · line 7public
public fun ComponentScope.dragSource(area: InputArea, options: DragSourceOptions = DragSourceOptions(), prepare: (DragSourceStart) -> DragSourceData?): DragSource
Extension receiver: ComponentScope
Prepares data after the mouse or direct-contact drag threshold has been reached.
parameter receiver
source · line 7public
ComponentScope
parameter options
source · line 9public
options: DragSourceOptions = DragSourceOptions()
parameter prepare
source · line 10public
prepare: (DragSourceStart) -> DragSourceData?
parameter area
source · line 8public
area: InputArea