IChildNode Interface
https://dom.spec.whatwg.org/#interface-childnode
public interface IChildNodeMethods
| Name | Description |
|---|---|
| After(ReadOnlySpan<NodeOrString>) | Inserts the nodes just after this node, converting the strings into text nodes. |
| Before(ReadOnlySpan<NodeOrString>) | Inserts the nodes just before this node, converting the strings into text nodes. |
| Remove() | Removes this node from its parent, if any. |
| ReplaceWith(ReadOnlySpan<NodeOrString>) | Replaces this node with the given nodes in its parent, converting the strings into text nodes. |
After(ReadOnlySpan<NodeOrString>)
Inserts the nodes just after this node, converting the strings into text nodes.
void After(params scoped ReadOnlySpan<NodeOrString> nodes)Before(ReadOnlySpan<NodeOrString>)
Inserts the nodes just before this node, converting the strings into text nodes.
void Before(params scoped ReadOnlySpan<NodeOrString> nodes)Remove()
Removes this node from its parent, if any.
void Remove()ReplaceWith(ReadOnlySpan<NodeOrString>)
Replaces this node with the given nodes in its parent, converting the strings into text nodes.
void ReplaceWith(params scoped ReadOnlySpan<NodeOrString> nodes)