DropEvent

class DropEvent(val draggedComponent: ComponentView, val dragTargets: List<ComponentView> = emptyList()) : Event

Event that gets raised for drop gestures.

Receiver is the dragged component.

See also

Constructors

Link copied to clipboard
fun DropEvent(draggedComponent: ComponentView, dragTargets: List<ComponentView> = emptyList())

Creates a DropEvent containing draggedComponent and dragTargets.

Properties

Link copied to clipboard
val draggedComponent: ComponentView

Currently dragged ComponentView.

Link copied to clipboard
val dragTargets: List<ComponentView>

List of all ComponentViews that accepted the drag gesture in case of a dragGestureEnded Event. Contains all accepting ComponentViews in the order they accepted.