Skip to main content

DragTargetLeaveEvent

Event payload for DragTarget.on_leave.

Inherits: Event

Properties

Properties​

srcclass-attributeinstance-attribute​

src: Draggable | None = field(init=False)

Source Draggable control resolved from src_id.

It is None if src_id doesn't identify a Draggable in the page.

src_idinstance-attribute​

src_id: int | None

ID of the Draggable source control, if available.