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

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

Issue 59073003: Version 0.8.10.4 (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
« no previous file with comments | « dart/tools/dom/docs/docs.json ('k') | deps/dartium.deps/DEPS » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 778 matching lines...) Expand 10 before | Expand all | Expand 10 after
789 * `null` if no namespace URI is specified. 789 * `null` if no namespace URI is specified.
790 * 790 *
791 * ## Other resources 791 * ## Other resources
792 * 792 *
793 * * [Node.namespaceURI] 793 * * [Node.namespaceURI]
794 * (http://www.w3.org/TR/DOM-Level-3-Core/core.html#ID-NodeNSname) from W3C. 794 * (http://www.w3.org/TR/DOM-Level-3-Core/core.html#ID-NodeNSname) from W3C.
795 */ 795 */
796 @DomName('Element.namespaceUri') 796 @DomName('Element.namespaceUri')
797 String get namespaceUri => _namespaceUri; 797 String get namespaceUri => _namespaceUri;
798 798
799 /**
800 * The string representation of this element.
801 *
802 * This is equivalent to reading the [localName] property.
803 */
799 String toString() => localName; 804 String toString() => localName;
800 805
801 /** 806 /**
802 * Scrolls this element into view. 807 * Scrolls this element into view.
803 * 808 *
804 * Only one of of the alignment options may be specified at a time. 809 * Only one of of the alignment options may be specified at a time.
805 * 810 *
806 * If no options are specified then this will attempt to scroll the minimum 811 * If no options are specified then this will attempt to scroll the minimum
807 * amount needed to bring the element into view. 812 * amount needed to bring the element into view.
808 * 813 *
(...skipping 523 matching lines...) Expand 10 before | Expand all | Expand 10 after
1332 const ScrollAlignment._internal(this._value); 1337 const ScrollAlignment._internal(this._value);
1333 toString() => 'ScrollAlignment.$_value'; 1338 toString() => 'ScrollAlignment.$_value';
1334 1339
1335 /// Attempt to align the element to the top of the scrollable area. 1340 /// Attempt to align the element to the top of the scrollable area.
1336 static const TOP = const ScrollAlignment._internal('TOP'); 1341 static const TOP = const ScrollAlignment._internal('TOP');
1337 /// Attempt to center the element in the scrollable area. 1342 /// Attempt to center the element in the scrollable area.
1338 static const CENTER = const ScrollAlignment._internal('CENTER'); 1343 static const CENTER = const ScrollAlignment._internal('CENTER');
1339 /// Attempt to align the element to the bottom of the scrollable area. 1344 /// Attempt to align the element to the bottom of the scrollable area.
1340 static const BOTTOM = const ScrollAlignment._internal('BOTTOM'); 1345 static const BOTTOM = const ScrollAlignment._internal('BOTTOM');
1341 } 1346 }
OLDNEW
« no previous file with comments | « dart/tools/dom/docs/docs.json ('k') | deps/dartium.deps/DEPS » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698