text property

String? get text

All text within this node and its descendants.

Other resources

Implementation

@JSName('textContent')

/**
 * All text within this node and its descendants.
 *
 * ## Other resources
 *
 * * [Node.textContent](https://developer.mozilla.org/en-US/docs/Web/API/Node.textContent)
 *   from MDN.
 */

String? get text native;
set text (String? value)

Implementation

@JSName('textContent')
set text(String? value) native;