| 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'; | 6 import 'dart:_collection-dev'; |
| 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 18399 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 18410 @DocsEditable | 18410 @DocsEditable |
| 18411 Element $dom_insertRow(int index) native; | 18411 Element $dom_insertRow(int index) native; |
| 18412 } | 18412 } |
| 18413 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 18413 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 18414 // for details. All rights reserved. Use of this source code is governed by a | 18414 // for details. All rights reserved. Use of this source code is governed by a |
| 18415 // BSD-style license that can be found in the LICENSE file. | 18415 // BSD-style license that can be found in the LICENSE file. |
| 18416 | 18416 |
| 18417 | 18417 |
| 18418 @DocsEditable | 18418 @DocsEditable |
| 18419 @DomName('HTMLTemplateElement') | 18419 @DomName('HTMLTemplateElement') |
| 18420 @SupportedBrowser(SupportedBrowser.CHROME) |
| 18421 @Experimental |
| 18420 class TemplateElement extends Element native "HTMLTemplateElement" { | 18422 class TemplateElement extends Element native "HTMLTemplateElement" { |
| 18421 | 18423 |
| 18424 @DomName('HTMLTemplateElement.HTMLTemplateElement') |
| 18425 @DocsEditable |
| 18426 factory TemplateElement() => document.$dom_createElement("template"); |
| 18427 |
| 18428 /// Checks if this type is supported on the current platform. |
| 18429 static bool get supported => Element.isTagSupported('template'); |
| 18430 |
| 18422 @DomName('HTMLTemplateElement.content') | 18431 @DomName('HTMLTemplateElement.content') |
| 18423 @DocsEditable | 18432 @DocsEditable |
| 18424 final DocumentFragment content; | 18433 final DocumentFragment content; |
| 18425 } | 18434 } |
| 18426 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 18435 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 18427 // for details. All rights reserved. Use of this source code is governed by a | 18436 // for details. All rights reserved. Use of this source code is governed by a |
| 18428 // BSD-style license that can be found in the LICENSE file. | 18437 // BSD-style license that can be found in the LICENSE file. |
| 18429 | 18438 |
| 18430 // WARNING: Do not edit - generated code. | 18439 // WARNING: Do not edit - generated code. |
| 18431 | 18440 |
| (...skipping 7136 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 25568 _position = nextPosition; | 25577 _position = nextPosition; |
| 25569 return true; | 25578 return true; |
| 25570 } | 25579 } |
| 25571 _current = null; | 25580 _current = null; |
| 25572 _position = _array.length; | 25581 _position = _array.length; |
| 25573 return false; | 25582 return false; |
| 25574 } | 25583 } |
| 25575 | 25584 |
| 25576 T get current => _current; | 25585 T get current => _current; |
| 25577 } | 25586 } |
| OLD | NEW |