search

goog.fx.DragDrop

Provided By
Extends
All Implemented Interfaces

Drag/drop implementation for creating drag sources/drop targets consisting of a single HTML Element.

new DragDrop( element, opt_data )

Parameters
element(Element|string|null)

Dom Node, or string representation of node id, to be used as drag source/drop target.

opt_data(Object|null)=

Data associated with the source/target.

Throws

Error If no element argument is provided or if the type is invalid

Instance Methods

Instance Properties