<checkdragstate>

JavaScript: lz.checkdragstate
extends <state> » <node> » lz.Eventable »
This should be declared as a child of the thing for which you want to enable dragging. You will need to define a view (an instance of a subclass of <basedragimage>) to define the visual look of the thing while its being dragged.
The object that you want to accept a drop action, needs to register with lz.Track using the same group as is declared in the dragimage.

Attributes

Name Type (tag) Type (js) Default Category
draggername string String dragimage read/write
  an instance subclass of basedragimage that defines the visual representation of the item while it is being dragged

Attributes inherited from <state>

applied, pooling

Methods

Methods inherited from <state>

apply, remove

Methods inherited from lz.Eventable

destroy, setAttribute

Events

Events inherited from <state>

onapplied, onapply, onremove

Events inherited from <node>

onconstruct, ondata, oninit

Events inherited from lz.Eventable

ondestroy