text property

String? text
@JSName('textContent')

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

Implementation

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

© 2012 the Dart project authors
Licensed under the Creative Commons Attribution-ShareAlike License v4.0.
https://api.dart.dev/stable/2.13.0/dart-html/Node/text.html