IText
public interface IText : ICharacterData, INode, IEventTarget, IMarkupFormattable, IChildNode, INonDocumentTypeChildNode
The Text interface represents the textual content of Element or Attr.
If an element has no markup within its content, it has a single child
implementing Text that contains the element's text. However, if the
element contains markup, it is parsed into information items and Text
nodes that form its children.
Gets the assigned slot of the current text, if any.
Gets a string containing the text of all Text nodes logically
adjacent to this Node, concatenated in document order.
Breaks the node into two nodes at a specified offset.