textContent property
String?
get
textContent
The textContent
property of the Node
interface represents the text content of the node and its descendants.
Note:
textContent
and HTMLElement.innerText are easily confused, but the two properties are different in important ways.
Implementation
external String? get textContent;
set
textContent
(String? value)
Implementation
external set textContent(String? value);