| OLD | NEW |
| 1 // Copyright (c) 2013, the Dart project authors. Please see the AUTHORS file | 1 // Copyright (c) 2013, 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 /** | 5 /** |
| 6 * Custom DOM elements. | 6 * Custom DOM elements. |
| 7 * | 7 * |
| 8 * This library provides access to the Polymer project's | 8 * This library provides access to the Polymer project's |
| 9 * [Custom Elements] | 9 * [Custom Elements] |
| 10 * (http://www.polymer-project.org/platform/custom-elements.html) | 10 * (http://www.polymer-project.org/platform/custom-elements.html) |
| (...skipping 165 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 176 set attributes(Map<String, String> value) { | 176 set attributes(Map<String, String> value) { |
| 177 host.attributes = value; | 177 host.attributes = value; |
| 178 } | 178 } |
| 179 | 179 |
| 180 List<Element> get elements => host.children; | 180 List<Element> get elements => host.children; |
| 181 | 181 |
| 182 set elements(List<Element> value) { | 182 set elements(List<Element> value) { |
| 183 host.children = value; | 183 host.children = value; |
| 184 } | 184 } |
| 185 | 185 |
| 186 String get baseUri => host.baseUri; |
| 187 |
| 186 List<Element> get children => host.children; | 188 List<Element> get children => host.children; |
| 187 | 189 |
| 188 set children(List<Element> value) { | 190 set children(List<Element> value) { |
| 189 host.children = value; | 191 host.children = value; |
| 190 } | 192 } |
| 191 | 193 |
| 192 Set<String> get classes => host.classes; | 194 Set<String> get classes => host.classes; |
| 193 | 195 |
| 194 set classes(Iterable<String> value) { | 196 set classes(Iterable<String> value) { |
| 195 host.classes = value; | 197 host.classes = value; |
| (...skipping 289 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 485 Stream<TouchEvent> get onTouchLeave => host.onTouchLeave; | 487 Stream<TouchEvent> get onTouchLeave => host.onTouchLeave; |
| 486 Stream<TouchEvent> get onTouchMove => host.onTouchMove; | 488 Stream<TouchEvent> get onTouchMove => host.onTouchMove; |
| 487 Stream<TouchEvent> get onTouchStart => host.onTouchStart; | 489 Stream<TouchEvent> get onTouchStart => host.onTouchStart; |
| 488 Stream<TransitionEvent> get onTransitionEnd => host.onTransitionEnd; | 490 Stream<TransitionEvent> get onTransitionEnd => host.onTransitionEnd; |
| 489 | 491 |
| 490 // TODO(sigmund): do the normal forwarding when dartbug.com/7919 is fixed. | 492 // TODO(sigmund): do the normal forwarding when dartbug.com/7919 is fixed. |
| 491 Stream<WheelEvent> get onMouseWheel { | 493 Stream<WheelEvent> get onMouseWheel { |
| 492 throw new UnsupportedError('onMouseWheel is not supported'); | 494 throw new UnsupportedError('onMouseWheel is not supported'); |
| 493 } | 495 } |
| 494 } | 496 } |
| OLD | NEW |