function preparePreview
source · line 31public
public fun TextDragOptions.preparePreview(start: DragSourceStart, text: String, selectionImage: () -> DragPreview?): DragPreview?
Extension receiver: TextDragOptions
Resolves one eligible text export for editor, selectable and custom text hosts.
parameter selectionImage
source · line 34public
selectionImage: () -> DragPreview?
parameter receiver
source · line 31public
TextDragOptions
parameter start
source · line 32public
start: DragSourceStart
parameter text
source · line 33public
text: String