isConnected property

bool get isConnected
inherited

Implementation

bool get isConnected {
  Node parent = this;
  while (parent.parentNode != null) {
    parent = parent.parentNode!;
  }
  return parent == ownerDocument;
}