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

Unified Diff: sdk/lib/html/dart2js/html_dart2js.dart

Issue 15102013: add doc for Node.append (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 7 years, 7 months 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | sdk/lib/html/dartium/html_dartium.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: sdk/lib/html/dart2js/html_dart2js.dart
diff --git a/sdk/lib/html/dart2js/html_dart2js.dart b/sdk/lib/html/dart2js/html_dart2js.dart
index 2096f94d785ae7016c021d36afe0a89337b4dc90..82fb770f663fb19cb7cdf3bcdf367f9b955e3b8c 100644
--- a/sdk/lib/html/dart2js/html_dart2js.dart
+++ b/sdk/lib/html/dart2js/html_dart2js.dart
@@ -15289,6 +15289,15 @@ class Node extends EventTarget native "Node" {
void $dom_addEventListener(String type, EventListener listener, [bool useCapture]) native;
@JSName('appendChild')
+ /**
+ * Adds a node to the end of the child [nodes] list of this node.
+ *
+ * If the node already exists in this document, it will be removed from its
+ * current parent node, then added to this node.
+ *
+ * This method is more efficient than `nodes.add`, and is the preferred
+ * way of appending a child node.
+ */
@DomName('Node.appendChild')
@DocsEditable
Node append(Node newChild) native;
« no previous file with comments | « no previous file | sdk/lib/html/dartium/html_dartium.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698