search

goog.fx.DragDropItem

Provided By
Extends
All Implemented Interfaces

Class representing a source or target element for drag and drop operations.

new DragDropItem( 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