Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(338)

Side by Side Diff: dart/tools/dom/templates/html/impl/impl_Element.darttemplate

Issue 66253002: Version 0.8.10.9 (Closed) Base URL: http://dart.googlecode.com/svn/trunk/
Patch Set: Created 7 years, 1 month ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
OLDNEW
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 class _ChildrenElementList extends ListBase<Element> 7 class _ChildrenElementList extends ListBase<Element>
8 implements NodeListWrapper { 8 implements NodeListWrapper {
9 // Raw Element. 9 // Raw Element.
10 final Element _element; 10 final Element _element;
(...skipping 568 matching lines...) Expand 10 before | Expand all | Expand 10 after
579 children.addAll(copy); 579 children.addAll(copy);
580 } 580 }
581 581
582 /** 582 /**
583 * Finds all descendent elements of this element that match the specified 583 * Finds all descendent elements of this element that match the specified
584 * group of selectors. 584 * group of selectors.
585 * 585 *
586 * [selectors] should be a string using CSS selector syntax. 586 * [selectors] should be a string using CSS selector syntax.
587 * 587 *
588 * var items = element.querySelectorAll('.itemClassName'); 588 * var items = element.querySelectorAll('.itemClassName');
589 *
590 * For details about CSS selector syntax, see the
591 * [CSS selector specification](http://www.w3.org/TR/css3-selectors/).
589 */ 592 */
590 @DomName('Element.querySelectorAll') 593 @DomName('Element.querySelectorAll')
591 ElementList querySelectorAll(String selectors) => 594 ElementList querySelectorAll(String selectors) =>
592 new _FrozenElementList._wrap(_querySelectorAll(selectors)); 595 new _FrozenElementList._wrap(_querySelectorAll(selectors));
593 596
594 /** 597 /**
595 * Alias for [querySelector]. Note this function is deprecated because its 598 * Alias for [querySelector]. Note this function is deprecated because its
596 * semantics will be changing in the future. 599 * semantics will be changing in the future.
597 */ 600 */
598 @deprecated 601 @deprecated
(...skipping 738 matching lines...) Expand 10 before | Expand all | Expand 10 after
1337 const ScrollAlignment._internal(this._value); 1340 const ScrollAlignment._internal(this._value);
1338 toString() => 'ScrollAlignment.$_value'; 1341 toString() => 'ScrollAlignment.$_value';
1339 1342
1340 /// Attempt to align the element to the top of the scrollable area. 1343 /// Attempt to align the element to the top of the scrollable area.
1341 static const TOP = const ScrollAlignment._internal('TOP'); 1344 static const TOP = const ScrollAlignment._internal('TOP');
1342 /// Attempt to center the element in the scrollable area. 1345 /// Attempt to center the element in the scrollable area.
1343 static const CENTER = const ScrollAlignment._internal('CENTER'); 1346 static const CENTER = const ScrollAlignment._internal('CENTER');
1344 /// Attempt to align the element to the bottom of the scrollable area. 1347 /// Attempt to align the element to the bottom of the scrollable area.
1345 static const BOTTOM = const ScrollAlignment._internal('BOTTOM'); 1348 static const BOTTOM = const ScrollAlignment._internal('BOTTOM');
1346 } 1349 }
OLDNEW
« no previous file with comments | « dart/tools/dom/templates/html/impl/impl_DocumentFragment.darttemplate ('k') | deps/dartium.deps/DEPS » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698