OLD | NEW |
1 | 1 |
2 class Event native "*Event" { | 2 class Event native "*Event" { |
3 | 3 |
4 static final int AT_TARGET = 2; | 4 static final int AT_TARGET = 2; |
5 | 5 |
6 static final int BLUR = 8192; | 6 static final int BLUR = 8192; |
7 | 7 |
8 static final int BUBBLING_PHASE = 3; | 8 static final int BUBBLING_PHASE = 3; |
9 | 9 |
10 static final int CAPTURING_PHASE = 1; | 10 static final int CAPTURING_PHASE = 1; |
(...skipping 21 matching lines...) Expand all Loading... |
32 static final int MOUSEMOVE = 16; | 32 static final int MOUSEMOVE = 16; |
33 | 33 |
34 static final int MOUSEOUT = 8; | 34 static final int MOUSEOUT = 8; |
35 | 35 |
36 static final int MOUSEOVER = 4; | 36 static final int MOUSEOVER = 4; |
37 | 37 |
38 static final int MOUSEUP = 2; | 38 static final int MOUSEUP = 2; |
39 | 39 |
40 static final int SELECT = 16384; | 40 static final int SELECT = 16384; |
41 | 41 |
42 bool bubbles; | 42 bool get bubbles() native "return this.bubbles;"; |
43 | 43 |
44 bool cancelBubble; | 44 bool get cancelBubble() native "return this.cancelBubble;"; |
45 | 45 |
46 bool cancelable; | 46 void set cancelBubble(bool value) native "this.cancelBubble = value;"; |
47 | 47 |
48 Clipboard clipboardData; | 48 bool get cancelable() native "return this.cancelable;"; |
49 | 49 |
50 EventTarget currentTarget; | 50 Clipboard get clipboardData() native "return this.clipboardData;"; |
51 | 51 |
52 bool defaultPrevented; | 52 EventTarget get currentTarget() native "return this.currentTarget;"; |
53 | 53 |
54 int eventPhase; | 54 bool get defaultPrevented() native "return this.defaultPrevented;"; |
55 | 55 |
56 bool returnValue; | 56 int get eventPhase() native "return this.eventPhase;"; |
57 | 57 |
58 EventTarget srcElement; | 58 bool get returnValue() native "return this.returnValue;"; |
59 | 59 |
60 EventTarget target; | 60 void set returnValue(bool value) native "this.returnValue = value;"; |
61 | 61 |
62 int timeStamp; | 62 EventTarget get srcElement() native "return this.srcElement;"; |
63 | 63 |
64 String type; | 64 EventTarget get target() native "return this.target;"; |
| 65 |
| 66 int get timeStamp() native "return this.timeStamp;"; |
| 67 |
| 68 String get type() native "return this.type;"; |
65 | 69 |
66 void initEvent(String eventTypeArg, bool canBubbleArg, bool cancelableArg) nat
ive; | 70 void initEvent(String eventTypeArg, bool canBubbleArg, bool cancelableArg) nat
ive; |
67 | 71 |
68 void preventDefault() native; | 72 void preventDefault() native; |
69 | 73 |
70 void stopImmediatePropagation() native; | 74 void stopImmediatePropagation() native; |
71 | 75 |
72 void stopPropagation() native; | 76 void stopPropagation() native; |
73 | 77 |
74 var dartObjectLocalStorage; | 78 var dartObjectLocalStorage; |
75 | 79 |
76 String get typeName() native; | 80 String get typeName() native; |
77 } | 81 } |
OLD | NEW |