text property

  1. @JSName('textContent')
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;
  1. @JSName('textContent')
set text (String? value)

Implementation

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