package js.html
extends MouseEvent › UIEvent › Event
Available on jsThe
DragEvent
interface is aDOM event
that represents a drag and drop interaction. The user initiates a drag by placing a pointer device (such as a mouse) on the touch surface and then dragging the pointer to a new location (such as another DOM element). Applications are free to interpret a drag and drop interaction in an application-specific way.Documentation DragEvent by Mozilla Contributors, licensed under CC-BY-SA 2.5.
See:
new (type:String, ?eventInitDict:DragEventInit)
Throws:
null |
DOMError |
---|
read only dataTransfer:DataTransfer
initDragEvent (type:String, canBubble:Bool, cancelable:Bool, aView:Window, aDetail:Int, aScreenX:Int, aScreenY:Int, aClientX:Int, aClientY:Int, aCtrlKey:Bool, aAltKey:Bool, aShiftKey:Bool, aMetaKey:Bool, aButton:Int, aRelatedTarget:EventTarget, aDataTransfer:DataTransfer):Void
© 2005–2018 Haxe Foundation
Licensed under a MIT license.
https://api.haxe.org/js/html/DragEvent.html