DOMChildNode::after

Adds nodes after the node

&reftitle.description; public `void` `DOMChildNode::after` ``DOMNode``string```nodes`

Adds the passed `nodes` after the node.

&reftitle.parameters;

`nodes`

- Nodes to be added after the node. Strings are automatically converted to text nodes.

&reftitle.returnvalues;

&return.void;

&reftitle.errors;
&dom.errors.hierarchy.parent; &dom.errors.wrong_document;
&reftitle.changelog;

&Version; | &Description;
8.3.0 | Calling this method on a node without a parent is now a no-op to align the behaviour with the DOM specification. &dom.changelog.previous_hierarchy_exception;
8.3.0 | Calling this method on a node without an owner document now works. &dom.changelog.previous_hierarchy_exception;

&reftitle.seealso;

- `DOMChildNode::before`
- `DOMChildNode::remove`
- `DOMChildNode::replaceWith`
- `DOMNode::appendChild`