Index: tools/dom/templates/html/impl/impl_Node.darttemplate |
diff --git a/tools/dom/templates/html/impl/impl_Node.darttemplate b/tools/dom/templates/html/impl/impl_Node.darttemplate |
index 4ebc8bea43dc2abadaa96fa490f7e147bd353cfa..13e5588b8900a3247369b21fbad7c997112be396 100644 |
--- a/tools/dom/templates/html/impl/impl_Node.darttemplate |
+++ b/tools/dom/templates/html/impl/impl_Node.darttemplate |
@@ -291,6 +291,8 @@ $if JSINTEROP |
*/ |
@DomName('Node.childNodes') |
@DocsEditable() |
+ @Returns('NodeList') |
+ @Creates('NodeList') |
List<Node> get childNodes { |
if (_childNodes == null) { |
window.console.log(">>> construct childNodes collection/list"); |
@@ -305,6 +307,22 @@ $if JSINTEROP |
return _childNodes; |
} |
$else |
+ $if DARTIUM |
+ /** |
+ * A list of this node's children. |
+ * |
+ * ## Other resources |
+ * |
+ * * [Node.childNodes] |
+ * (https://developer.mozilla.org/en-US/docs/Web/API/Node.childNodes) |
+ * from MDN. |
+ */ |
+ @DomName('Node.childNodes') |
+ @DocsEditable() |
+ @Returns('NodeList') |
+ @Creates('NodeList') |
+ List<Node> get childNodes => _blink.BlinkNode.instance.childNodes_Getter_(this); |
+ $else |
/** |
* A list of this node's children. |
* |
@@ -320,6 +338,7 @@ $else |
@Creates('NodeList') |
final List<Node> childNodes; |
+ $endif |
$endif |
$!MEMBERS |
} |