The goog.fx.DragDropEvent Class

goog.fx.DragDropEvent
> goog.events.Event

goog.fx.DragDropEvent(type, source, sourceItem, opt_target, opt_targetItem, opt_targetElement, opt_clientX, opt_clientY, opt_x, opt_y, opt_subtarget)

Object representing a drag and drop event.

type {string}
Event type.
source {goog.fx.AbstractDragDrop}
Source drag drop object.
sourceItem {goog.fx.DragDropItem}
Source item.
opt_target {goog.fx.AbstractDragDrop=}
Target drag drop object.
opt_targetItem {goog.fx.DragDropItem=}
Target item.
opt_targetElement {Element=}
Target element.
opt_clientX {number=}
X-Position relative to the screen.
opt_clientY {number=}
Y-Position relative to the screen.
opt_x {number=}
X-Position relative to the viewport.
opt_y {number=}
Y-Position relative to the viewport.
opt_subtarget {Object=}
The currently active subtarget.

.clientX {number|undefined}

X-Position relative to the screen.

.clientY {number|undefined}

Y-Position relative to the screen.

.defaultPrevented {boolean}

Inherited from goog.events.Event .

Whether the default action has been prevented. This is a property to match the W3C specification at {@link http://www.w3.org/TR/DOM-Level-3-Events/#events-event-type-defaultPrevented}. Must be treated as read-only outside the class.

.dragSource {goog.fx.AbstractDragDrop}

Reference to the source goog.fx.AbstractDragDrop object.

.dragSourceItem {goog.fx.DragDropItem}

Reference to the source goog.fx.DragDropItem object.

.dropTarget {goog.fx.AbstractDragDrop|undefined}

Reference to the target goog.fx.AbstractDragDrop object.

.dropTargetElement {Element|undefined}

The actual element of the drop target that is the target for this event.

.dropTargetItem {goog.fx.DragDropItem|undefined}

Reference to the target goog.fx.DragDropItem object.

.preventDefault()

Inherited from goog.events.Event .

Prevents the default action, for example a link redirecting to a url.

.propagationStopped_ {boolean}

Inherited from goog.events.Event .

Whether to cancel the event in internal capture/bubble processing for IE.

@suppress
{underscore} Technically public, but referencing this outside this package is strongly discouraged.

.returnValue_ {boolean}

Inherited from goog.events.Event .

Return value for in internal capture/bubble processing for IE.

@suppress
{underscore} Technically public, but referencing this outside this package is strongly discouraged.

.stopPropagation()

Inherited from goog.events.Event .

Stops event propagation.

.subtarget {Object|undefined}

The subtarget that is currently active if a subtargeting function is supplied.

.viewportX {number|undefined}

X-Position relative to the viewport.

.viewportY {number|undefined}

Y-Position relative to the viewport.