text property

String? 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;
void text=(String? value)

Implementation

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