Class MathElement
- Namespace
- AngleSharp.Mathml.Dom
- Assembly
- AngleSharp.dll
Represents an element of the MathML DOM.
public class MathElement : Element, IEquatable<INode>, IElement, INode, IEventTarget, IMarkupFormattable, IParentNode, IChildNode, INonDocumentTypeChildNode
- Inheritance
-
MathElement
- Implements
- Inherited Members
- Extension Methods
Constructors
MathElement(Document, string, string?, NodeFlags)
public MathElement(Document owner, string name, string? prefix = null, NodeFlags flags = NodeFlags.None)
Parameters
Methods
Clone(Document, bool)
Clones the current node using the new owner.
public override Node Clone(Document owner, bool deep)
Parameters
Returns
- Node
The cloned node.
ParseSubtree(string)
Takes a given string source and parses it into a subtree using the current element as context. Follows the fragment parsing strategy for the given namespace.
public override IElement ParseSubtree(string html)
Parameters
html
string
Returns
- IElement
The documentElement of the new subtree.