You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
"""Adds the node `new_child` to the end of the list of children of this node.
306
+
307
+
If the `new_child` is already in the tree, it is first removed.
308
+
309
+
Args:
310
+
new_child: The node to add. If it is a `DocumentFragment` object, the entire contents of the document fragment are moved into the child list of this node
311
+
312
+
Returns:
313
+
The node added.
314
+
315
+
Raises:
316
+
DOMException:
317
+
- `HIERARCHY_REQUEST_ERR`: Raised if this node is of a type that does not allow children of the type of the `new_child` node, or if the node to append is one of this node's ancestors.
318
+
- `WRONG_DOCUMENT_ERR`: Raised if `new_child` was created from a different document than the one that created this node.
319
+
- `NO_MODIFICATION_ALLOWED_ERR`: Raised if this node is readonly.
0 commit comments