OLD | NEW |
| (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 abstract class EventListenerList { | |
8 EventListenerList add(EventListener handler, [bool useCapture]); | |
9 | |
10 EventListenerList remove(EventListener handler, [bool useCapture]); | |
11 | |
12 bool dispatch(Event evt); | |
13 } | |
14 | |
15 abstract class Events { | |
16 EventListenerList operator [](String type); | |
17 } | |
18 | |
19 /// @domName EventTarget | |
20 abstract class EventTarget { | |
21 | |
22 /** @domName EventTarget.addEventListener, EventTarget.removeEventListener, Ev
entTarget.dispatchEvent */ | |
23 abstract Events get on; | |
24 | |
25 /** @domName EventTarget.addEventListener */ | |
26 void $dom_addEventListener(String type, EventListener listener, [bool useCaptu
re]); | |
27 | |
28 /** @domName EventTarget.dispatchEvent */ | |
29 bool $dom_dispatchEvent(Event event); | |
30 | |
31 /** @domName EventTarget.removeEventListener */ | |
32 void $dom_removeEventListener(String type, EventListener listener, [bool useCa
pture]); | |
33 | |
34 } | |
OLD | NEW |