| 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 /** |
| 75 * @domName getClientRects, getBoundingClientRect, clientHeight, clientWidth, | 86 * @domName getClientRects, getBoundingClientRect, clientHeight, clientWidth, |
| 76 * clientTop, clientLeft, offsetHeight, offsetWidth, offsetTop, offsetLeft, | 87 * clientTop, clientLeft, offsetHeight, offsetWidth, offsetTop, offsetLeft, |
| 77 * scrollHeight, scrollWidth, scrollTop, scrollLeft | 88 * scrollHeight, scrollWidth, scrollTop, scrollLeft |
| 78 */ | 89 */ |
| 79 Future<ElementRect> get rect(); | 90 Future<ElementRect> get rect(); |
| 80 | 91 |
| 81 /** @domName Window.getComputedStyle */ | 92 /** @domName Window.getComputedStyle */ |
| 82 Future<CSSStyleDeclaration> get computedStyle(); | 93 Future<CSSStyleDeclaration> get computedStyle(); |
| 83 | 94 |
| 84 /** @domName Window.getComputedStyle */ | 95 /** @domName Window.getComputedStyle */ |
| 85 Future<CSSStyleDeclaration> getComputedStyle(String pseudoElement); | 96 Future<CSSStyleDeclaration> getComputedStyle(String pseudoElement); |
| 86 | 97 |
| 87 Element clone(bool deep); | 98 Element clone(bool deep); |
| 88 | 99 |
| 89 Element get parent(); | 100 Element get parent(); |
| 90 | 101 |
| 91 $!MEMBERS | 102 $!MEMBERS |
| 92 } | 103 } |
| OLD | NEW |