-
Notifications
You must be signed in to change notification settings - Fork 0
/
DragEventType.hx
62 lines (46 loc) · 1.58 KB
/
DragEventType.hx
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
package eventtypes;
enum abstract DragEventType(String) to String {
/**
The drag event is fired every few hundred milliseconds as an element or
text selection is being dragged by the user.
See https://developer.mozilla.org/en-US/docs/Web/Events/drag
*/
var Drag = 'drag';
/**
The dragstart event is fired when the user starts dragging an element
or text selection.
See https://developer.mozilla.org/en-US/docs/Web/Events/dragstart
*/
var DragStart = 'dragstart';
/**
The dragend event is fired when a drag operation is being ended (by
releasing a mouse button or hitting the escape key).
See https://developer.mozilla.org/en-US/docs/Web/Events/dragend
*/
var DragEnd = 'dragend';
/**
The dragenter event is fired when a dragged element or text selection
enters a valid drop target.
See https://developer.mozilla.org/en-US/docs/Web/Events/dragenter
*/
var DragEnter = 'dragenter';
/**
The dragover event is fired when an element or text selection is being
dragged over a valid drop target (every few hundred milliseconds).
The event is fired on the drop target(s).
See https://developer.mozilla.org/en-US/docs/Web/Events/dragover
*/
var DragOver = 'dragover';
/**
The dragleave event is fired when a dragged element or text selection
leaves a valid drop target.
See https://developer.mozilla.org/en-US/docs/Web/Events/dragleave
*/
var DragLeave = 'dragleave';
/**
The drop event is fired when an element or text selection is dropped on
a valid drop target.
See https://developer.mozilla.org/en-US/docs/Web/Events/drop
*/
var Drop = 'drop';
}