outerText property

String get outerText
inherited

The outerText property of the HTMLElement interface returns the same value as HTMLElement.innerText. When used as a setter it replaces the whole current node with the given text (this differs from innerText, which replaces the content inside the current node).

See HTMLElement.innerText for more information and examples showing how both properties are used as getters.

Implementation

external String get outerText;
set outerText (String value)
inherited

Implementation

external set outerText(String value);