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

Side by Side Diff: sdk/lib/html/doc/interface/Event.dartdoc

Issue 11691009: Moved most of html lib generating scripts into tools. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 7 years, 11 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 abstract class Event {
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 factory Event(String type, [bool canBubble = true, bool cancelable = true]) =>
17 _EventFactoryProvider.createEvent(type, canBubble, cancelable);
18
19 static const int AT_TARGET = 2;
20
21 static const int BLUR = 8192;
22
23 static const int BUBBLING_PHASE = 3;
24
25 static const int CAPTURING_PHASE = 1;
26
27 static const int CHANGE = 32768;
28
29 static const int CLICK = 64;
30
31 static const int DBLCLICK = 128;
32
33 static const int DRAGDROP = 2048;
34
35 static const int FOCUS = 4096;
36
37 static const int KEYDOWN = 256;
38
39 static const int KEYPRESS = 1024;
40
41 static const int KEYUP = 512;
42
43 static const int MOUSEDOWN = 1;
44
45 static const int MOUSEDRAG = 32;
46
47 static const int MOUSEMOVE = 16;
48
49 static const int MOUSEOUT = 8;
50
51 static const int MOUSEOVER = 4;
52
53 static const int MOUSEUP = 2;
54
55 static const int NONE = 0;
56
57 static const int SELECT = 16384;
58
59 /** @domName Event.bubbles */
60 abstract bool get bubbles;
61
62 /** @domName Event.cancelBubble */
63 bool cancelBubble;
64
65 /** @domName Event.cancelable */
66 abstract bool get cancelable;
67
68 /** @domName Event.clipboardData */
69 abstract Clipboard get clipboardData;
70
71 /** @domName Event.currentTarget */
72 abstract EventTarget get currentTarget;
73
74 /** @domName Event.defaultPrevented */
75 abstract bool get defaultPrevented;
76
77 /** @domName Event.eventPhase */
78 abstract int get eventPhase;
79
80 /** @domName Event.returnValue */
81 bool returnValue;
82
83 /** @domName Event.srcElement */
84 abstract EventTarget get srcElement;
85
86 /** @domName Event.target */
87 abstract EventTarget get target;
88
89 /** @domName Event.timeStamp */
90 abstract int get timeStamp;
91
92 /** @domName Event.type */
93 abstract String get type;
94
95 /** @domName Event.initEvent */
96 void $dom_initEvent(String eventTypeArg, bool canBubbleArg, bool cancelableArg );
97
98 /** @domName Event.preventDefault */
99 void preventDefault();
100
101 /** @domName Event.stopImmediatePropagation */
102 void stopImmediatePropagation();
103
104 /** @domName Event.stopPropagation */
105 void stopPropagation();
106 }
OLDNEW
« no previous file with comments | « sdk/lib/html/doc/interface/Element.dartdoc ('k') | sdk/lib/html/doc/interface/EventTarget.dartdoc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698