The DOMText class
Guide
Edit on GitHub ✎
The DOMText class inherits from DOMCharacterData and represents the textual content of a DOMElement or DOMAttr.
Intro
The DOMText class inherits from DOMCharacterData and represents the textual content of a DOMElement or DOMAttr.
Class synopsis
class DOMText extends DOMCharacterData { }
Properties
wholeTextHolds all the text of logically-adjacent (not separated by Element, Comment or Processing Instruction) Text nodes.
Changelog
| Version | Description |
|---|---|
| 8.0.0 | The unimplemented method DOMText::replaceWholeText has been removed. |
Domtext