Class type Goog.​Fx.​dragDropItem

class type dragDropItem = object..end

Inherits


method getCurrentDragElement : 'a. (#Dom_html.element as 'a) Js.t Js.meth

Gets the element that is currently being dragged. Returns The element that is currently being dragged.

method getDraggableElement : 
'b 'c.
(#Dom_html.element as 'b) Js.t -> (#Dom_html.element as 'c) Js.t Js.meth

Gets the element that is actually draggable given that the given target was attempted to be dragged. This should be overriden when the element that was given actually contains many items that can be dragged. From the target, you can determine what element should actually be dragged. Returns The element that is draggable given the target. If none are draggable, this will return null.

method getDraggableElements : 
'd. (#Dom_html.element as 'd) Js.t Js.js_array Js.t Js.meth

Gets the element that is currently being dragged. Returns The element that is currently being dragged.

method setParent : abstractDragDrop Js.t -> unit Js.meth

Sets the dragdrop to which this item belongs.