| OLD | NEW |
| 1 // Copyright (c) 2011, the Dart project authors. Please see the AUTHORS file | 1 // Copyright (c) 2011, 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 // WARNING: Do not edit - generated code. | 5 // WARNING: Do not edit - generated code. |
| 6 | 6 |
| 7 // TODO(vsm): Eliminate this type. | 7 // TODO(vsm): Eliminate this type. |
| 8 | 8 |
| 9 // Note, ElementList implements List (instead of List<Element>) so | 9 // Note, ElementList implements List (instead of List<Element>) so |
| 10 // that its implementing classes may be cast to Lists of more specific | 10 // that its implementing classes may be cast to Lists of more specific |
| (...skipping 54 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 65 | 65 |
| 66 /** @domName className, classList */ | 66 /** @domName className, classList */ |
| 67 Set<String> get classes(); | 67 Set<String> get classes(); |
| 68 | 68 |
| 69 void set classes(Collection<String> value); | 69 void set classes(Collection<String> value); |
| 70 | 70 |
| 71 AttributeMap get dataAttributes(); | 71 AttributeMap get dataAttributes(); |
| 72 void set dataAttributes(Map<String, String> value); | 72 void set dataAttributes(Map<String, String> value); |
| 73 | 73 |
| 74 /** | 74 /** |
| 75 * Adds the specified text as a text node after the last child of this. | |
| 76 */ | |
| 77 void addText(String text); | |
| 78 | |
| 79 /** | |
| 80 * Parses the specified text as HTML and adds the resulting node after the | |
| 81 * last child of this. | |
| 82 */ | |
| 83 void addHTML(String html); | |
| 84 | |
| 85 /** | |
| 86 * @domName getClientRects, getBoundingClientRect, clientHeight, clientWidth, | 75 * @domName getClientRects, getBoundingClientRect, clientHeight, clientWidth, |
| 87 * clientTop, clientLeft, offsetHeight, offsetWidth, offsetTop, offsetLeft, | 76 * clientTop, clientLeft, offsetHeight, offsetWidth, offsetTop, offsetLeft, |
| 88 * scrollHeight, scrollWidth, scrollTop, scrollLeft | 77 * scrollHeight, scrollWidth, scrollTop, scrollLeft |
| 89 */ | 78 */ |
| 90 Future<ElementRect> get rect(); | 79 Future<ElementRect> get rect(); |
| 91 | 80 |
| 92 /** @domName Window.getComputedStyle */ | 81 /** @domName Window.getComputedStyle */ |
| 93 Future<CSSStyleDeclaration> get computedStyle(); | 82 Future<CSSStyleDeclaration> get computedStyle(); |
| 94 | 83 |
| 95 /** @domName Window.getComputedStyle */ | 84 /** @domName Window.getComputedStyle */ |
| 96 Future<CSSStyleDeclaration> getComputedStyle(String pseudoElement); | 85 Future<CSSStyleDeclaration> getComputedStyle(String pseudoElement); |
| 97 | 86 |
| 98 Element clone(bool deep); | 87 Element clone(bool deep); |
| 99 | 88 |
| 100 Element get parent(); | 89 Element get parent(); |
| 101 | 90 |
| 102 $!MEMBERS | 91 $!MEMBERS |
| 103 } | 92 } |
| OLD | NEW |