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

Side by Side Diff: lib/html/doc/interface/EventTarget.dartdoc

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:
6 // This file contains documentation that is merged into the real source.
7 // Do not make code changes here.
8
9 interface EventListenerList {
10 EventListenerList add(EventListener handler, [bool useCapture]);
11
12 EventListenerList remove(EventListener handler, [bool useCapture]);
13
14 bool dispatch(Event evt);
15 }
16
17 interface Events {
18 EventListenerList operator [](String type);
19 }
20
21 /// @domName EventTarget
22 interface EventTarget {
23
24 /** @domName EventTarget.addEventListener, EventTarget.removeEventListener, Ev entTarget.dispatchEvent */
25 final Events on;
26
27 /** @domName EventTarget.addEventListener */
28 void $dom_addEventListener(String type, EventListener listener, [bool useCaptu re]);
29
30 /** @domName EventTarget.dispatchEvent */
31 bool $dom_dispatchEvent(Event event);
32
33 /** @domName EventTarget.removeEventListener */
34 void $dom_removeEventListener(String type, EventListener listener, [bool useCa pture]);
35
36 }
OLDNEW
« no previous file with comments | « lib/html/doc/interface/EventSource.dartdoc ('k') | lib/html/doc/interface/FieldSetElement.dartdoc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698