goog.fx.DragDropEvent
Classgoog.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
}
source
{goog.fx.AbstractDragDrop
}
sourceItem
{goog.fx.DragDropItem
}
opt_target
{goog.fx.AbstractDragDrop
=}
opt_targetItem
{goog.fx.DragDropItem
=}
opt_targetElement
{Element
=}
opt_clientX
{number
=}
opt_clientY
{number
=}
opt_x
{number
=}
opt_y
{number
=}
opt_subtarget
{Object
=}
.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.
.dispose()
[deprecated]Deprecated. Events don't need to be disposed.
Inherited from goog.events.Event
.
For backwards compatibility (goog.events.Event used to inherit goog.Disposable).
.disposeInternal()
[deprecated]Deprecated. Events don't need to be disposed.
For backwards compatibility (goog.events.Event used to inherit goog.Disposable).
.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.
.returnValue_
{boolean
}Inherited from goog.events.Event
.
Return value for in internal capture/bubble processing for IE.
.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.