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 // Fake dart:html library for documentation. | |
6 | |
7 /// The Dart HTML5 Library. | |
8 library dart.html; | |
9 | |
10 part 'interface/AbstractWorker.dartdoc'; | |
11 part 'interface/Element.dartdoc'; | |
12 part 'interface/Event.dartdoc'; | |
13 part 'interface/EventTarget.dartdoc'; | |
14 part 'interface/HttpRequest.dartdoc'; | |
15 part 'interface/MouseEvent.dartdoc'; | |
16 part 'interface/Storage.dartdoc'; | |
17 part 'interface/Node.dartdoc'; | |
18 part 'interface/UIEvent.dartdoc'; | |
19 part 'interface/WebSocket.dartdoc'; | |
20 | |
21 // Implementation files that appear to be necessary to load the sources. | |
22 | |
23 //part 'nodoc-src/SomeFile.dart'; | |
24 | |
25 // Global definitions. | |
26 | |
27 /** | |
28 * The top-level Window object. | |
29 */ | |
30 Window get window() => null; | |
31 | |
32 /** | |
33 * The top-level Document object. | |
34 */ | |
35 Document get document() => null; | |
36 | |
37 typedef void EventListener(Event event); | |
OLD | NEW |