nodes property

List<Node> nodes

A modifiable list of this node's children.

Source

List<Node> get nodes {
  return new _ChildNodeListLazy(this);
}
void nodes=(Iterable<Node> value)

Source

set nodes(Iterable<Node> value) {
  // Copy list first since we don't want liveness during iteration.
  // TODO(jacobr): there is a better way to do this.
  var copy = value.toList();
  text = '';
  for (Node node in copy) {
    append(node);
  }
}

© 2012 the Dart project authors
Licensed under the Creative Commons Attribution-ShareAlike License v4.0.
https://api.dartlang.org/stable/1.24.3/dart-html/Node/nodes.html