OLD | NEW |
1 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 1 // Copyright (c) 2012, 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 part of $LIBRARYNAME; | 5 part of $LIBRARYNAME; |
6 | 6 |
| 7 $!TOPLEVEL |
| 8 |
7 class _ChildrenElementList extends ListBase<Element> | 9 class _ChildrenElementList extends ListBase<Element> |
8 implements NodeListWrapper { | 10 implements NodeListWrapper { |
9 // Raw Element. | 11 // Raw Element. |
10 final Element _element; | 12 final Element _element; |
11 final HtmlCollection _childElements; | 13 final HtmlCollection _childElements; |
12 | 14 |
13 _ChildrenElementList._wrap(Element element) | 15 _ChildrenElementList._wrap(Element element) |
14 : _childElements = element._children, | 16 : _childElements = element._children, |
15 _element = element; | 17 _element = element; |
16 | 18 |
(...skipping 1322 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1339 const ScrollAlignment._internal(this._value); | 1341 const ScrollAlignment._internal(this._value); |
1340 toString() => 'ScrollAlignment.$_value'; | 1342 toString() => 'ScrollAlignment.$_value'; |
1341 | 1343 |
1342 /// Attempt to align the element to the top of the scrollable area. | 1344 /// Attempt to align the element to the top of the scrollable area. |
1343 static const TOP = const ScrollAlignment._internal('TOP'); | 1345 static const TOP = const ScrollAlignment._internal('TOP'); |
1344 /// Attempt to center the element in the scrollable area. | 1346 /// Attempt to center the element in the scrollable area. |
1345 static const CENTER = const ScrollAlignment._internal('CENTER'); | 1347 static const CENTER = const ScrollAlignment._internal('CENTER'); |
1346 /// Attempt to align the element to the bottom of the scrollable area. | 1348 /// Attempt to align the element to the bottom of the scrollable area. |
1347 static const BOTTOM = const ScrollAlignment._internal('BOTTOM'); | 1349 static const BOTTOM = const ScrollAlignment._internal('BOTTOM'); |
1348 } | 1350 } |
OLD | NEW |