OLD | NEW |
1 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 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 | 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. | 3 // BSD-style license that can be found in the LICENSE file. |
4 | 4 |
5 part of html; | 5 part of html; |
6 | 6 |
7 /** | 7 /** |
8 * Base class that supports listening for and dispatching browser events. | 8 * Base class that supports listening for and dispatching browser events. |
9 * | 9 * |
10 * Events can either be accessed by string name (using the indexed getter) or by | 10 * Events can either be accessed by string name (using the indexed getter) or by |
(...skipping 62 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
73 * [$dom_addEventListener], [$dom_dispatchEvent], and | 73 * [$dom_addEventListener], [$dom_dispatchEvent], and |
74 * [$dom_removeEventListener]) for compile-time type checks and a more concise | 74 * [$dom_removeEventListener]) for compile-time type checks and a more concise |
75 * API. | 75 * API. |
76 */ | 76 */ |
77 class $CLASSNAME$EXTENDS$IMPLEMENTS$NATIVESPEC { | 77 class $CLASSNAME$EXTENDS$IMPLEMENTS$NATIVESPEC { |
78 | 78 |
79 /** @domName EventTarget.addEventListener, EventTarget.removeEventListener, Ev
entTarget.dispatchEvent */ | 79 /** @domName EventTarget.addEventListener, EventTarget.removeEventListener, Ev
entTarget.dispatchEvent */ |
80 Events get on => new Events(this); | 80 Events get on => new Events(this); |
81 $!MEMBERS | 81 $!MEMBERS |
82 } | 82 } |
OLD | NEW |