text property Null safety

  1. @JSName('textContent')
String? text

All text within this node and its descendents.

Other resources

Implementation

@JSName('textContent')

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

String? get text native;
  1. @JSName('textContent')
void text=(String? value)

Implementation

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