| 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 425 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 436 Node append(Node e) => host.append(e); | 436 Node append(Node e) => host.append(e); |
| 437 | 437 |
| 438 void appendText(String text) => host.appendText(text); | 438 void appendText(String text) => host.appendText(text); |
| 439 | 439 |
| 440 void appendHtml(String html) => host.appendHtml(html); | 440 void appendHtml(String html) => host.appendHtml(html); |
| 441 | 441 |
| 442 String get regionOverset => host.regionOverset; | 442 String get regionOverset => host.regionOverset; |
| 443 | 443 |
| 444 List<Range> getRegionFlowRanges() => host.getRegionFlowRanges(); | 444 List<Range> getRegionFlowRanges() => host.getRegionFlowRanges(); |
| 445 | 445 |
| 446 void animate(List<Map> keyframes, [num duration]) => |
| 447 host.animate(keyframes, duration); |
| 448 |
| 446 // TODO(jmesserly): rename "created" to "onCreated". | 449 // TODO(jmesserly): rename "created" to "onCreated". |
| 447 void onCreated() => created(); | 450 void onCreated() => created(); |
| 448 | 451 |
| 449 Stream<Event> get onAbort => host.onAbort; | 452 Stream<Event> get onAbort => host.onAbort; |
| 450 Stream<Event> get onBeforeCopy => host.onBeforeCopy; | 453 Stream<Event> get onBeforeCopy => host.onBeforeCopy; |
| 451 Stream<Event> get onBeforeCut => host.onBeforeCut; | 454 Stream<Event> get onBeforeCut => host.onBeforeCut; |
| 452 Stream<Event> get onBeforePaste => host.onBeforePaste; | 455 Stream<Event> get onBeforePaste => host.onBeforePaste; |
| 453 Stream<Event> get onBlur => host.onBlur; | 456 Stream<Event> get onBlur => host.onBlur; |
| 454 Stream<Event> get onChange => host.onChange; | 457 Stream<Event> get onChange => host.onChange; |
| 455 Stream<MouseEvent> get onClick => host.onClick; | 458 Stream<MouseEvent> get onClick => host.onClick; |
| (...skipping 38 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 494 Stream<TouchEvent> get onTouchLeave => host.onTouchLeave; | 497 Stream<TouchEvent> get onTouchLeave => host.onTouchLeave; |
| 495 Stream<TouchEvent> get onTouchMove => host.onTouchMove; | 498 Stream<TouchEvent> get onTouchMove => host.onTouchMove; |
| 496 Stream<TouchEvent> get onTouchStart => host.onTouchStart; | 499 Stream<TouchEvent> get onTouchStart => host.onTouchStart; |
| 497 Stream<TransitionEvent> get onTransitionEnd => host.onTransitionEnd; | 500 Stream<TransitionEvent> get onTransitionEnd => host.onTransitionEnd; |
| 498 | 501 |
| 499 // TODO(sigmund): do the normal forwarding when dartbug.com/7919 is fixed. | 502 // TODO(sigmund): do the normal forwarding when dartbug.com/7919 is fixed. |
| 500 Stream<WheelEvent> get onMouseWheel { | 503 Stream<WheelEvent> get onMouseWheel { |
| 501 throw new UnsupportedError('onMouseWheel is not supported'); | 504 throw new UnsupportedError('onMouseWheel is not supported'); |
| 502 } | 505 } |
| 503 } | 506 } |
| OLD | NEW |