textContent property

String? get textContent
inherited

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)
inherited

Implementation

external set textContent(String? value);