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 interface ElementList extends List<Element> { | 5 interface ElementList extends List<Element> { |
6 // TODO(jacobr): add element batch manipulation methods. | 6 // TODO(jacobr): add element batch manipulation methods. |
| 7 ElementList filter(bool f(Element element)); |
| 8 |
| 9 ElementList getRange(int start, int length); |
| 10 |
7 Element get first(); | 11 Element get first(); |
8 // TODO(jacobr): add insertAt | 12 // TODO(jacobr): add insertAt |
9 } | 13 } |
10 | 14 |
11 class DeferredElementRect { | 15 class DeferredElementRect { |
12 // TODO(jacobr) | 16 // TODO(jacobr) |
13 } | 17 } |
14 | 18 |
15 interface ElementEvents extends Events { | 19 interface ElementEvents extends Events { |
16 EventListenerList get abort(); | 20 EventListenerList get abort(); |
(...skipping 171 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
188 Future<ElementRect> get rect(); | 192 Future<ElementRect> get rect(); |
189 | 193 |
190 Future<CSSStyleDeclaration> get computedStyle(); | 194 Future<CSSStyleDeclaration> get computedStyle(); |
191 | 195 |
192 Future<CSSStyleDeclaration> getComputedStyle(String pseudoElement); | 196 Future<CSSStyleDeclaration> getComputedStyle(String pseudoElement); |
193 | 197 |
194 ElementEvents get on(); | 198 ElementEvents get on(); |
195 | 199 |
196 Element clone(bool deep); | 200 Element clone(bool deep); |
197 } | 201 } |
OLD | NEW |