Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(54)

Side by Side Diff: lib/html/doc/interface/Event.dart

Issue 10544064: Add dummy dart:html library for documentation. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 8 years, 6 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
OLDNEW
(Empty)
1 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
2 // for details. All rights reserved. Use of this source code is governed by a
3 // BSD-style license that can be found in the LICENSE file.
4
5 // WARNING: Do not edit - generated code.
6
7 /// @domName Event
8 interface Event default _EventFactoryProvider {
9
10 // In JS, canBubble and cancelable are technically required parameters to
11 // init*Event. In practice, though, if they aren't provided they simply
12 // default to false (since that's Boolean(undefined)).
13 //
14 // Contrary to JS, we default canBubble and cancelable to true, since that's
15 // what people want most of the time anyway.
16 Event(String type, [bool canBubble, bool cancelable]);
17
18 static final int AT_TARGET = 2;
19
20 static final int BLUR = 8192;
21
22 static final int BUBBLING_PHASE = 3;
23
24 static final int CAPTURING_PHASE = 1;
25
26 static final int CHANGE = 32768;
27
28 static final int CLICK = 64;
29
30 static final int DBLCLICK = 128;
31
32 static final int DRAGDROP = 2048;
33
34 static final int FOCUS = 4096;
35
36 static final int KEYDOWN = 256;
37
38 static final int KEYPRESS = 1024;
39
40 static final int KEYUP = 512;
41
42 static final int MOUSEDOWN = 1;
43
44 static final int MOUSEDRAG = 32;
45
46 static final int MOUSEMOVE = 16;
47
48 static final int MOUSEOUT = 8;
49
50 static final int MOUSEOVER = 4;
51
52 static final int MOUSEUP = 2;
53
54 static final int NONE = 0;
55
56 static final int SELECT = 16384;
57
58 /** @domName Event.bubbles */
59 final bool bubbles;
60
61 /** @domName Event.cancelBubble */
62 bool cancelBubble;
63
64 /** @domName Event.cancelable */
65 final bool cancelable;
66
67 /** @domName Event.clipboardData */
68 final Clipboard clipboardData;
69
70 /** @domName Event.currentTarget */
71 final EventTarget currentTarget;
72
73 /** @domName Event.defaultPrevented */
74 final bool defaultPrevented;
75
76 /** @domName Event.eventPhase */
77 final int eventPhase;
78
79 /** @domName Event.returnValue */
80 bool returnValue;
81
82 /** @domName Event.srcElement */
83 final EventTarget srcElement;
84
85 /** @domName Event.target */
86 final EventTarget target;
87
88 /** @domName Event.timeStamp */
89 final int timeStamp;
90
91 /** @domName Event.type */
92 final String type;
93
94 /** @domName Event.initEvent */
95 void $dom_initEvent(String eventTypeArg, bool canBubbleArg, bool cancelableArg );
96
97 /** @domName Event.preventDefault */
98 void preventDefault();
99
100 /** @domName Event.stopImmediatePropagation */
101 void stopImmediatePropagation();
102
103 /** @domName Event.stopPropagation */
104 void stopPropagation();
105 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698