DragEvent

DragEvent

package js-html

extends MouseEventUIEventEvent

Available on js

The DragEvent interface is a DOM 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:

Constructor

new (type:String, ?eventInitDict:DragEventInit)

Throws:

null DOMError

Variables

read only dataTransfer:DataTransfer

Methods

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–2016 Haxe Foundation
Licensed under a MIT license.
http://api.haxe.org/js/html/DragEvent.html

在线笔记
App下载
App下载

扫描二维码

下载编程狮App

公众号
微信公众号

编程狮公众号

意见反馈
返回顶部