OLD | NEW |
1 /// The Dart HTML library. | 1 /// The Dart HTML library. |
2 library dart.dom.html; | 2 library dart.dom.html; |
3 | 3 |
4 import 'dart:async'; | 4 import 'dart:async'; |
5 import 'dart:collection'; | 5 import 'dart:collection'; |
6 import 'dart:_collection-dev' hide Symbol; | 6 import 'dart:_collection-dev' hide Symbol; |
7 import 'dart:html_common'; | 7 import 'dart:html_common'; |
8 import 'dart:indexed_db'; | 8 import 'dart:indexed_db'; |
9 import 'dart:isolate'; | 9 import 'dart:isolate'; |
10 import 'dart:json' as json; | 10 import 'dart:json' as json; |
(...skipping 9079 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
9090 /// Attempt to center the element in the scrollable area. | 9090 /// Attempt to center the element in the scrollable area. |
9091 static const CENTER = const ScrollAlignment._internal('CENTER'); | 9091 static const CENTER = const ScrollAlignment._internal('CENTER'); |
9092 /// Attempt to align the element to the bottom of the scrollable area. | 9092 /// Attempt to align the element to the bottom of the scrollable area. |
9093 static const BOTTOM = const ScrollAlignment._internal('BOTTOM'); | 9093 static const BOTTOM = const ScrollAlignment._internal('BOTTOM'); |
9094 } | 9094 } |
9095 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 9095 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
9096 // for details. All rights reserved. Use of this source code is governed by a | 9096 // for details. All rights reserved. Use of this source code is governed by a |
9097 // BSD-style license that can be found in the LICENSE file. | 9097 // BSD-style license that can be found in the LICENSE file. |
9098 | 9098 |
9099 | 9099 |
| 9100 @DomName('ElementTimeControl') |
| 9101 @Unstable |
| 9102 abstract class ElementTimeControl { |
| 9103 |
| 9104 void beginElement(); |
| 9105 |
| 9106 void beginElementAt(num offset); |
| 9107 |
| 9108 void endElement(); |
| 9109 |
| 9110 void endElementAt(num offset); |
| 9111 } |
| 9112 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 9113 // for details. All rights reserved. Use of this source code is governed by a |
| 9114 // BSD-style license that can be found in the LICENSE file. |
| 9115 |
| 9116 |
9100 @DomName('ElementTraversal') | 9117 @DomName('ElementTraversal') |
9101 @Unstable | 9118 @Unstable |
9102 abstract class ElementTraversal { | 9119 abstract class ElementTraversal { |
9103 | 9120 |
9104 int $dom_childElementCount; | 9121 int $dom_childElementCount; |
9105 | 9122 |
9106 Element $dom_firstElementChild; | 9123 Element $dom_firstElementChild; |
9107 | 9124 |
9108 Element $dom_lastElementChild; | 9125 Element $dom_lastElementChild; |
9109 | 9126 |
(...skipping 20252 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
29362 _position = nextPosition; | 29379 _position = nextPosition; |
29363 return true; | 29380 return true; |
29364 } | 29381 } |
29365 _current = null; | 29382 _current = null; |
29366 _position = _array.length; | 29383 _position = _array.length; |
29367 return false; | 29384 return false; |
29368 } | 29385 } |
29369 | 29386 |
29370 T get current => _current; | 29387 T get current => _current; |
29371 } | 29388 } |
OLD | NEW |