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