class domkit::DragTarget
sys::Obj domkit::DragTarget
@Js
DragTarget converts an Elem into a drag target for a drag-and-drop events.
See also: docDomkit
- bind
-
static DragTarget bind(Elem elem)
Convert given Elem into a drag target.
- onDrag
-
Callback to get data payload for drag event.
- onDragImage
-
Void onDragImage(|Obj->Elem| f)
Callback to customize the drag image for drag event.
- onEnd
-
Callback when the drag event has ended.